-
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
[Enhancement]: Add RotateImmediately to aws_secretsmanager_secret_rotation #34961
Comments
Community NoteVoting for Prioritization
Volunteering to Work on This Issue
|
Hello I add my issue because I think that it could be the same topic : disable the password rotation (in AWS secret ) of RDS in terraform. It is only possible from console or API. module "difa-rds" {
source = "terraform-aws-modules/rds/aws"
version = "6.1.0"
}
resource "aws_secretsmanager_secret_rotation" "db_instance_master_user_secret_rotation" {
secret_id = module.difa-rds.db_instance_master_user_secret_arn
rotation_rules {
automatically_after_days = 30
}
}```
regards |
I wouldn't mind having a look at this and see if I can get something in to fix. |
This functionality has been released in v5.33.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 issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. |
Description
aws_secretsmanager_secret_rotation must accept the RotateImmediately parameter.
If this parameter is not specified, immediate rotation will be performed.
The SDK supports this parameter, but Terraform does not.
Affected Resource(s) and/or Data Source(s)
aws_secretsmanager_secret_rotation
Potential Terraform Configuration
References
https://docs.aws.amazon.com/secretsmanager/latest/apireference/API_RotateSecret.html
https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/service/secretsmanager#Client.RotateSecret
https://pkg.go.dev/github.com/aws/aws-sdk-go-v2/service/secretsmanager#RotateSecretInput
Would you like to implement a fix?
None
The text was updated successfully, but these errors were encountered: