terraform/website/source/docs/providers/aws/d/ssm_parameter.html.markdown

886 B

layout page_title sidebar_current description
aws AWS: aws_ssm_parameter docs-aws-datasource-ssm-parameter Provides a SSM Parameter datasource

aws_ssm_parameter

Provides an SSM Parameter data source.

Example Usage

To store a basic string parameter:

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.

Argument Reference

The following arguments are supported:

  • name - (Required) The name of the parameter.

The following attributes are exported:

  • 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.