-
Notifications
You must be signed in to change notification settings - Fork 9.3k
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
Issue #6054 Add name_prefix attribute to aws_secretsmanager_secret #6277
Conversation
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.
This is looking pretty good -- I think it just needs to be rebased due to merging the other validation function PR and adding ValidateFunc
to the attributes 😄
8f87905
to
0a17b4d
Compare
@bflad changes done 👍 $ make testacc TEST=./aws/ TESTARGS='-run=TestAccAwsSecretsManagerSecret_withNamePrefix' |
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, thanks @saravanan30erd! 🚀
9 tests passed (all tests)
--- PASS: TestAccAwsSecretsManagerSecret_policy (4.54s)
--- PASS: TestAccAwsSecretsManagerSecret_Basic (4.98s)
--- PASS: TestAccAwsSecretsManagerSecret_withNamePrefix (5.00s)
--- PASS: TestAccAwsSecretsManagerSecret_Description (7.44s)
--- PASS: TestAccAwsSecretsManagerSecret_Tags (13.03s)
--- PASS: TestAccAwsSecretsManagerSecret_RecoveryWindowInDays_Recreate (22.96s)
--- PASS: TestAccAwsSecretsManagerSecret_RotationRules (26.98s)
--- PASS: TestAccAwsSecretsManagerSecret_RotationLambdaARN (27.00s)
--- PASS: TestAccAwsSecretsManagerSecret_KmsKeyID (27.68s)
This has been released in version 1.42.0 of the AWS provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thanks! |
Fixes #6054
Changes proposed in this pull request:
added
name_prefix
attribute to aws_secretsmanager_secretadded the validation func for attr
name
andname_prefix
.Output from acceptance testing: