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" {
source="./modules/aws/r/aws_secretsmanager_secret"# description - (optional) is a type of stringdescription=null# kms_key_id - (optional) is a type of stringkms_key_id=null# name - (optional) is a type of stringname=null# name_prefix - (optional) is a type of stringname_prefix=null# policy - (optional) is a type of stringpolicy=null# recovery_window_in_days - (optional) is a type of numberrecovery_window_in_days=null# rotation_lambda_arn - (optional) is a type of stringrotation_lambda_arn=null# tags - (optional) is a type of map of stringtags={}
rotation_rules=[{
automatically_after_days =null
}]
}
resource"aws_secretsmanager_secret""this" {
# description - (optional) is a type of stringdescription=var.description# kms_key_id - (optional) is a type of stringkms_key_id=var.kms_key_id# name - (optional) is a type of stringname=var.name# name_prefix - (optional) is a type of stringname_prefix=var.name_prefix# policy - (optional) is a type of stringpolicy=var.policy# recovery_window_in_days - (optional) is a type of numberrecovery_window_in_days=var.recovery_window_in_days# rotation_lambda_arn - (optional) is a type of stringrotation_lambda_arn=var.rotation_lambda_arn# 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"]
}
}
}