-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for remote_indicies to elasticstack_elasticsearch_security_role & elasticstack_kibana_security_role #723
Conversation
💚 CLA has been signed |
71d3232
to
9312ea2
Compare
It looks like the build is failing because the committed docs don't match what would be generated. Are you able to run |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The linked issue talks about the elasticsearch role resource (which is here). I'm not sure if adding it to the Kibana role is sufficient for you though?
Good catch. I didn't realize there was two seperate resources. Looks like the api for elasticstack_kibana_security_role is in preview but the work done is still valid. I'll expand the PR to include the intended resource and regenerate the docs. |
Everything should be in place for the elasticstack_kibana_security_role now. Still working on the elasticstack_elasticsearch_security_role |
forgot about TestAccDataSourceKibanaSecurityRole, i've commented out the remote_indices for now, will add the version constraints tomorrow. |
27d2686
to
952183e
Compare
@tobio This is ready for another review |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple of minor comments. Generally this LGTM. Thanks so much for adding this! It's a decent chunk of code here. ❤️
Thanks! I've reviewed your feedback and now that i've learned how everything works and it's in a working state I'll attempt some of the suggested code cleanup in indices and remote_indices before we merge this. |
Co-authored-by: Toby Brain <[email protected]>
@tobio I just pushed some code improvements based on your feedback. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. This is a big chunk of code, thanks for adding this to the provider!
@tobio when will the next version be released so we can begin leveraging this? |
@mholttech I'm expecting these to be released ideally later this week, but by the end of next week at the latest. |
resolves #722 by adding remote_indices to elasticstack_kibana_security_role & elasticstack_elasticsearch_security_role