-
-
Notifications
You must be signed in to change notification settings - Fork 90
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 master_password output to return generated password. #45
Conversation
/test all |
Terraform didn't support I asked in CloudPosse slack for them to review this when they can. |
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.
We try to avoid writing secrets to Terraform state. Instead we can save the password to SSM and add the path to the SSM parameter to outputs
The |
Yes @milldr all object attributes are saved in terraform state regardless. Though the SSM parameter does make it easier to access this password from other places. |
Good point. I'll trigger the tests and approve once they pass |
/test all |
/rebuild-readme |
/test all |
@@ -1,5 +1,5 @@ | |||
terraform { | |||
required_version = ">= 0.13.0" | |||
required_version = ">= 0.14.0" |
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.
We should revert this change, since Cloud Posse modules still support v 0.13
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.
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.
Check with Erik please (I know he was a part of the discussion with Matt), I think if we're good to move past 0.13 then this PR should jump to 1.3.0 or even 1.4.2 so that we don't face this version upgrading problem in the future in this module.
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.
okay I've checked and it's no problem to bump that version. But in order for the tests to pass we need to update the version provided with testing
Set minimum terraform version to 0.14.0 for `sensitive` support.
@milldr friendly ping for re-review |
/terratest |
/terratest |
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.
Looks good! thanks for following up on this
what
why
aws_secretsmanager_secret_version
as part of the terraform configuration that creates the cluster.references