やり方
nonsensitive(aws_ssm_parameter.maintnance_mode_control.value)
のように書く
サンプル
resource "aws_ssm_parameter" "maintnance_mode_control" {
name = "/test/MAINTENANCE_FLAG"
type = "String"
value = "0"
lifecycle {
ignore_changes = [
value
]
}
}
output "data" {
value = nonsensitive(aws_ssm_parameter.maintnance_mode_control.value)
}