Skip to content
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

r/aws_elasticsearchdomain: add support for saml_options #16424

Closed
wants to merge 4 commits into from

Conversation

philof
Copy link
Contributor

@philof philof commented Nov 24, 2020

Community Note

  • Please vote on this pull request by adding a 👍 reaction to the original pull request comment to help the community and maintainers prioritize this request
  • Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for pull request followers and do not help prioritize the request

Fixes #16259

Release note for CHANGELOG:

* resource/aws_elasticsearch_domain: Support `saml_options` advanced_security_option ([#16259](https://github.com/hashicorp/terraform-provider-aws/issues/16259))

Output from acceptance testing:

$ make testacc TESTARGS='-run=TestAccAWSElasticSearchDomain_AdvancedSecurityOptions_SAML'
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./aws -v -count 1 -parallel 20 -run=TestAccAWSElasticSearchDomain_AdvancedSecurityOptions_SAML -timeout 120m
=== RUN   TestAccAWSElasticSearchDomain_AdvancedSecurityOptions_SAML
=== PAUSE TestAccAWSElasticSearchDomain_AdvancedSecurityOptions_SAML
=== CONT  TestAccAWSElasticSearchDomain_AdvancedSecurityOptions_SAML
--- PASS: TestAccAWSElasticSearchDomain_AdvancedSecurityOptions_SAML (985.80s)
PASS
ok           github.com/terraform-providers/terraform-provider-aws/aws     987.358s
...

The overall structure is ready, but I still have an issue with You cannot specify SAML options during domain creation. The second apply in the create test results in a non-empty plan. I couldn't find another resource in the repo which restricts parameters on creation. I would greatly appreciate any guidance for this two-step creation process.

@philof philof requested a review from a team as a code owner November 24, 2020 22:50
@ghost ghost added size/L Managed by automation to categorize the size of a PR. service/elasticsearch Issues and PRs that pertain to the elasticsearch service. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure. labels Nov 24, 2020
@github-actions github-actions bot added the needs-triage Waiting for first response or review from a maintainer. label Nov 24, 2020
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Welcome @philof 👋

It looks like this is your first Pull Request submission to the Terraform AWS Provider! If you haven’t already done so please make sure you have checked out our CONTRIBUTING guide and FAQ to make sure your contribution is adhering to best practice and has all the necessary elements in place for a successful approval.

Also take a look at our FAQ which details how we prioritize Pull Requests for inclusion.

Thanks again, and welcome to the community! 😃

@ghost ghost added size/XL Managed by automation to categorize the size of a PR. and removed size/L Managed by automation to categorize the size of a PR. labels Dec 1, 2020
@philof philof changed the title [WIP] r/aws_elasticsearchdomain: add support for saml_options r/aws_elasticsearchdomain: add support for saml_options� Dec 2, 2020
@philof philof changed the title r/aws_elasticsearchdomain: add support for saml_options� r/aws_elasticsearchdomain: add support for saml_options Dec 2, 2020
Base automatically changed from master to main January 23, 2021 00:59
@jbvmio
Copy link

jbvmio commented Jan 29, 2021

When will this be merged?

@thameezb
Copy link

thameezb commented Apr 7, 2021

bump

@JeffAshton
Copy link
Contributor

JeffAshton commented Apr 27, 2021

Did you consider making the SAML options be there own resource so that it could be combined with the Okta terraform provider

https://registry.terraform.io/providers/oktadeveloper/okta/latest/docs/resources/app_saml

Elasticsearch -> Okta -> Elasticsearch SAML

This would also solve the issue that the SAML config cannot be specified until after the domain is created.

@philof
Copy link
Contributor Author

philof commented May 20, 2021

I have a new custom resource for aws_elasticsearch_domain_saml_options. Would you like a new pull request or to edit this one?

@JeffAshton
Copy link
Contributor

aws_elasticsearch_domain_saml_options

I would probably create a new pull request. The separate resource should be perfect.

@github-actions
Copy link

I'm going to lock this pull request because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems related to this change, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jun 24, 2021
@breathingdust breathingdust removed the needs-triage Waiting for first response or review from a maintainer. label Sep 17, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
service/elasticsearch Issues and PRs that pertain to the elasticsearch service. size/XL Managed by automation to categorize the size of a PR. tests PRs: expanded test coverage. Issues: expanded coverage, enhancements to test infrastructure.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Feature Request: ElasticSearch - native SAML Authentication for Kibana
5 participants