You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
module"aws_secretsmanager_secret_rotation" {
source="./modules/aws/r/aws_secretsmanager_secret_rotation"# rotation_lambda_arn - (required) is a type of stringrotation_lambda_arn=null# secret_id - (required) is a type of stringsecret_id=null# tags - (optional) is a type of map of stringtags={}
rotation_rules=[{
automatically_after_days =null
}]
}
resource"aws_secretsmanager_secret_rotation""this" {
# rotation_lambda_arn - (required) is a type of stringrotation_lambda_arn=var.rotation_lambda_arn# secret_id - (required) is a type of stringsecret_id=var.secret_id# tags - (optional) is a type of map of stringtags=var.tagsdynamic"rotation_rules" {
for_each=var.rotation_rulescontent {
# automatically_after_days - (required) is a type of numberautomatically_after_days=rotation_rules.value["automatically_after_days"]
}
}
}