Data Source: aws_ssm_parameter

Provides an SSM Parameter data source.

Example Usage

To store a basic string parameter:

data "aws_ssm_parameter" "foo" {
  name  = "foo"
}

Argument Reference

The following arguments are supported:

  • name - (Required) The name of the parameter.
  • with_decryption - (Optional) Whether to return decrypted SecureString value. Defaults to true.

In addition to all arguments above, the following attributes are exported:

  • arn - The ARN of the parameter.
  • name - (Required) The name of the parameter.
  • type - (Required) The type of the parameter. Valid types are String, StringList and SecureString.
  • value - (Required) The value of the parameter.

© 2018 HashiCorp
Licensed under the MPL 2.0 License.
https://www.terraform.io/docs/providers/aws/d/ssm_parameter.html