-
Notifications
You must be signed in to change notification settings - Fork 105
Add security role data source #177
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
Conversation
Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually? |
da43669
to
b0b5086
Compare
b0b5086
to
d07ce1b
Compare
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 small nits. LGTM
CHANGELOG.md
Outdated
@@ -2,6 +2,7 @@ | |||
|
|||
### Added | |||
- New resource `elasticstack_elasticsearch_logstash_pipeline` to manage Logstash pipelines ([Centralized Pipeline Management](https://www.elastic.co/guide/en/logstash/current/logstash-centralized-pipeline-management.html)) ([#151](https://github.com./elastic/terraform-provider-elasticstack/pull/151)) | |||
- Add`elasticstack_elasticsearch_security_role` data source ([#177](https://github.com./elastic/terraform-provider-elasticstack/pull/177)) |
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.
- Add`elasticstack_elasticsearch_security_role` data source ([#177](https://github.com./elastic/terraform-provider-elasticstack/pull/177)) | |
- Add `elasticstack_elasticsearch_security_role` data source ([#177](https://github.com./elastic/terraform-provider-elasticstack/pull/177)) |
--- | ||
# generated by https://github.com./hashicorp/terraform-plugin-docs | ||
page_title: "elasticstack_elasticsearch_security_role Data Source - terraform-provider-elasticstack" | ||
subcategory: "" |
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.
subcategory: "" | |
subcategory: "Security" |
|
||
# Data Source: elasticstack_elasticsearch_security_role | ||
|
||
Use this data source to information about existing Elasticsearch role. See, https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-role.html |
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.
Use this data source to information about existing Elasticsearch role. See, https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-role.html | |
Use this data source to get information about an existing Elasticsearch role. See, https://www.elastic.co/guide/en/elasticsearch/reference/current/security-api-get-role.html |
Maybe there's other words you intended to have here, happy to use those instead too :)
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.
Whoops, I guess I just deleted it by mistake, fixed🙏
6ec61a4
Ah, I'll fix merge conflict after another PR gets merged |
Resolves #82
This PR adds security role data-source in reference to existing security role resource.
https://github.com./elastic/terraform-provider-elasticstack/blob/main/internal/elasticsearch/security/role.go