» Data Source: aws_ssm_parameter
Provides an SSM Parameter data source.
» Example Usage
data "aws_ssm_parameter" "foo" {
name = "foo"
}
Note: The unencrypted value of a SecureString will be stored in the raw state as plain-text. Read more about sensitive data in state.
Note: The data source is currently following the behavior of the SSM API to return a string value, regardless of parameter type. For type StringList
, we can use the built-in split() function to get values in a list. Example: split(",", data.aws_ssm_parameter.subnets.value)
» Argument Reference
The following arguments are supported:
-
name
- (Required) The name of the parameter. -
with_decryption
- (Optional) Whether to return decryptedSecureString
value. Defaults totrue
.
In addition to all arguments above, the following attributes are exported: