SSM Parameter Store
Terraform module to create AWS SSM Parameter resources
Inputs
16
allowed_patternoptionalstringRegular expression used to validate the parameter value
nullcreateoptionalboolWhether to create SSM Parameter
truedata_typeoptionalstringData type of the parameter. Valid values: `text`, `aws:ssm:integration` and `aws:ec2:image` for AMI format, see the [Native parameter support for Amazon Machine Image IDs](https://docs.aws.amazon.com/systems-manager/latest/userguide/parameter-store-ec2-aliases.html)
nulldescriptionoptionalstringDescription of the parameter
nullignore_value_changesoptionalboolWhether to create SSM Parameter and ignore changes in value
falsekey_idoptionalstringKMS key ID or ARN for encrypting a `SecureString`
nullnameoptionalstringName of the parameter. If the name contains a path (e.g., any forward slashes (`/`)), it must be fully qualified with a leading forward slash (`/`)
nulloverwriteoptionalboolOverwrite an existing parameter. If not specified, defaults to `false` during create operations to avoid overwriting existing resources and then `true` for all subsequent operations once the resource is managed by Terraform
nullregionoptionalstringRegion where the resource(s) will be managed. Defaults to the Region set in the provider configuration
nullsecure_typeoptionalboolWhether the type of the value should be considered as secure or not
falsetagsoptionalmap(string)A map of tags to add to all resources
{}tieroptionalstringParameter tier to assign to the parameter. If not specified, will use the default parameter tier for the region. Valid tiers are Standard, Advanced, and Intelligent-Tiering. Downgrading an Advanced tier parameter to Standard will recreate the resource
nulltypeoptionalstringType of the parameter. Valid types are `String`, `StringList` and `SecureString`
nullvalueoptionalstringValue of the parameter
nullvalue_wo_versionoptionalnumberValue of the parameter. This value is always marked as sensitive in the Terraform plan output, regardless of type. Additionally, write-only values are never stored to state. `value_wo_version` can be used to trigger an update and is required with this argument
nullvaluesoptionallist(string)List of values of the parameter (will be jsonencoded to store as string natively in SSM)
[]All 16 are optional — the module deploys with none of them set.
Outputs
9
insecure_valueInsecure value of the parameter
raw_valueRaw value of the parameter (as it is stored in SSM). Use 'value' output to get jsondecode'd value
secure_typeWhether SSM parameter is a SecureString or not?
secure_valueSecure value of the parameter
ssm_parameter_arnThe ARN of the parameter
ssm_parameter_nameName of the parameter
ssm_parameter_typeType of the parameter
ssm_parameter_versionVersion of the parameter
valueParameter value after jsondecode(). Probably this is what you are looking for
What the agent wires into the next module. An edge on the architecture diagram is one of these consumed by something else.