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

Validation Exception when using master_user_arn #15

Closed
aws-dev-ops-github-service opened this issue Sep 16, 2020 · 1 comment · Fixed by #16
Closed

Validation Exception when using master_user_arn #15

aws-dev-ops-github-service opened this issue Sep 16, 2020 · 1 comment · Fixed by #16

Comments

@aws-dev-ops-github-service

when applying I can see this from the plan

  • advanced_security_options {
    + enabled = true
    + internal_user_database_enabled = true

       + master_user_options {
           + master_user_arn = "arn:aws:iam::123456:user/surj@myemail.io"
         }
     }
    

however I get the following error

aws_elasticsearch_domain.es_domain: Creating...

Error: Error creating ElasticSearch domain: ValidationException: You must provide a master username and password when the internal user database is enabled.

@lgallard
Copy link
Owner

@aws-dev-ops-github-service when internal_user_database_enabled is set to true you must provide the username and password.

If you want to use the master_user_arn instead, then set internal_user_database_enabled to false.

Regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants