-
Notifications
You must be signed in to change notification settings - Fork 9.2k
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 new attributes to secrets manager rotation rules #30425
add new attributes to secrets manager rotation rules #30425
Conversation
Community NoteVoting for Prioritization
For Submitters
|
…ion_rules.schedule_expression` attributes.
…nd `rotation_rules.schedule_expression` attributes.
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 🚀.
% make testacc TESTARGS='-run=TestAccSecretsManagerSecretDataSource_\|TestAccSecretsManagerSecret_\|TestAccSecretsManagerSecretRotationDataSource_\|TestAccSecretsManagerSecretRotation_' PKG=secretsmanager ACCTEST_PARALLELISM=3
==> Checking that code complies with gofmt requirements...
TF_ACC=1 go test ./internal/service/secretsmanager/... -v -count 1 -parallel 3 -run=TestAccSecretsManagerSecretDataSource_\|TestAccSecretsManagerSecret_\|TestAccSecretsManagerSecretRotationDataSource_\|TestAccSecretsManagerSecretRotation_ -timeout 180m
=== RUN TestAccSecretsManagerSecretDataSource_basic
=== PAUSE TestAccSecretsManagerSecretDataSource_basic
=== RUN TestAccSecretsManagerSecretDataSource_arn
=== PAUSE TestAccSecretsManagerSecretDataSource_arn
=== RUN TestAccSecretsManagerSecretDataSource_name
=== PAUSE TestAccSecretsManagerSecretDataSource_name
=== RUN TestAccSecretsManagerSecretDataSource_policy
=== PAUSE TestAccSecretsManagerSecretDataSource_policy
=== RUN TestAccSecretsManagerSecretRotationDataSource_basic
=== PAUSE TestAccSecretsManagerSecretRotationDataSource_basic
=== RUN TestAccSecretsManagerSecretRotation_basic
=== PAUSE TestAccSecretsManagerSecretRotation_basic
=== RUN TestAccSecretsManagerSecretRotation_scheduleExpression
=== PAUSE TestAccSecretsManagerSecretRotation_scheduleExpression
=== RUN TestAccSecretsManagerSecretRotation_duration
=== PAUSE TestAccSecretsManagerSecretRotation_duration
=== RUN TestAccSecretsManagerSecret_basic
=== PAUSE TestAccSecretsManagerSecret_basic
=== RUN TestAccSecretsManagerSecret_withNamePrefix
=== PAUSE TestAccSecretsManagerSecret_withNamePrefix
=== RUN TestAccSecretsManagerSecret_description
=== PAUSE TestAccSecretsManagerSecret_description
=== RUN TestAccSecretsManagerSecret_basicReplica
=== PAUSE TestAccSecretsManagerSecret_basicReplica
=== RUN TestAccSecretsManagerSecret_overwriteReplica
=== PAUSE TestAccSecretsManagerSecret_overwriteReplica
=== RUN TestAccSecretsManagerSecret_kmsKeyID
=== PAUSE TestAccSecretsManagerSecret_kmsKeyID
=== RUN TestAccSecretsManagerSecret_RecoveryWindowInDays_recreate
=== PAUSE TestAccSecretsManagerSecret_RecoveryWindowInDays_recreate
=== RUN TestAccSecretsManagerSecret_rotationLambdaARN
=== PAUSE TestAccSecretsManagerSecret_rotationLambdaARN
=== RUN TestAccSecretsManagerSecret_rotationRules
=== PAUSE TestAccSecretsManagerSecret_rotationRules
=== RUN TestAccSecretsManagerSecret_tags
=== PAUSE TestAccSecretsManagerSecret_tags
=== RUN TestAccSecretsManagerSecret_policy
=== PAUSE TestAccSecretsManagerSecret_policy
=== CONT TestAccSecretsManagerSecretDataSource_basic
=== CONT TestAccSecretsManagerSecret_description
=== CONT TestAccSecretsManagerSecret_policy
--- PASS: TestAccSecretsManagerSecretDataSource_basic (9.56s)
=== CONT TestAccSecretsManagerSecret_tags
--- PASS: TestAccSecretsManagerSecret_description (42.37s)
=== CONT TestAccSecretsManagerSecret_rotationRules
--- PASS: TestAccSecretsManagerSecret_policy (71.60s)
=== CONT TestAccSecretsManagerSecret_rotationLambdaARN
--- PASS: TestAccSecretsManagerSecret_tags (71.00s)
=== CONT TestAccSecretsManagerSecret_RecoveryWindowInDays_recreate
--- PASS: TestAccSecretsManagerSecret_rotationRules (61.43s)
=== CONT TestAccSecretsManagerSecret_kmsKeyID
--- PASS: TestAccSecretsManagerSecret_RecoveryWindowInDays_recreate (40.39s)
=== CONT TestAccSecretsManagerSecret_overwriteReplica
--- PASS: TestAccSecretsManagerSecret_rotationLambdaARN (66.28s)
=== CONT TestAccSecretsManagerSecret_basicReplica
--- PASS: TestAccSecretsManagerSecret_kmsKeyID (42.36s)
=== CONT TestAccSecretsManagerSecretRotation_basic
--- PASS: TestAccSecretsManagerSecret_basicReplica (29.90s)
=== CONT TestAccSecretsManagerSecret_withNamePrefix
--- PASS: TestAccSecretsManagerSecret_withNamePrefix (22.90s)
=== CONT TestAccSecretsManagerSecret_basic
--- PASS: TestAccSecretsManagerSecretRotation_basic (49.20s)
=== CONT TestAccSecretsManagerSecretRotation_duration
--- PASS: TestAccSecretsManagerSecret_basic (22.33s)
=== CONT TestAccSecretsManagerSecretRotation_scheduleExpression
--- PASS: TestAccSecretsManagerSecret_overwriteReplica (103.95s)
=== CONT TestAccSecretsManagerSecretDataSource_policy
--- PASS: TestAccSecretsManagerSecretRotation_duration (46.84s)
=== CONT TestAccSecretsManagerSecretRotationDataSource_basic
--- PASS: TestAccSecretsManagerSecretDataSource_policy (18.94s)
=== CONT TestAccSecretsManagerSecretDataSource_name
--- PASS: TestAccSecretsManagerSecretDataSource_name (19.44s)
=== CONT TestAccSecretsManagerSecretDataSource_arn
--- PASS: TestAccSecretsManagerSecretRotation_scheduleExpression (67.01s)
--- PASS: TestAccSecretsManagerSecretDataSource_arn (19.29s)
--- PASS: TestAccSecretsManagerSecretRotationDataSource_basic (48.68s)
PASS
ok github.com/hashicorp/terraform-provider-aws/internal/service/secretsmanager 300.713s
@silvaalbert Thanks for the contribution 🎉 👏. |
This functionality has been released in v4.62.0 of the Terraform AWS Provider. Please see the Terraform documentation on provider versioning or reach out if you need any assistance upgrading. For further feature requests or bug reports with this functionality, please create a new GitHub issue following the template. Thank you! |
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. |
Description
This adds
duration
andschedule_expression
attributes to therotation_rules
block.Relations
Closes #28016
References
https://docs.aws.amazon.com/secretsmanager/latest/apireference/API_RotationRulesType.html
Output from Acceptance Testing
SecretRotation resource
Secret resource