答案 0 :(得分:-1)
Please follow this link for extensive information about SSM though terraform
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ssm_parameter
您可以使用以下示例
'resource "aws_ssm_parameter" "secret" {
name = "/production/database/password/master"
description = "The parameter description"
type = "SecureString"
value = "secret_value"
tags = {
environment = "production"
}
}'