Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

ssm-parameter-store-parameter

This module creates following resources.

  • aws_ssm_parameter

Requirements

Name Version
terraform >= 1.12
aws >= 6.12

Providers

Name Version
aws 6.22.1

Modules

Name Source Version
resource_group tedilabs/misc/aws//modules/resource-group ~> 0.12.0

Resources

Name Type
aws_ssm_parameter.self resource
aws_ssm_parameter.this resource

Inputs

Name Description Type Default Required
name (Required) Friendly name of the new parameter. If the name contains a path (e.g., any forward slashes (/)), it must be fully qualified with a leading forward slash (/). string n/a yes
allowed_pattern (Optional) A regular expression used to validate the parameter value. For example, for STRING types with values restricted to numbers, you can specify ^d+$. string "" no
data_type (Optional) The data type of the parameter. Only required when type is STRING. Valid values are text, aws:ssm:integration, aws:ec2:image for AMI format. Defaults to text. aws:ssm:integration data_type parameters must be of the type SECURE_STRING and the name must start with the prefix /d9d01087-4a3f-49e0-b0b4-d568d7826553/ssm/integrations/webhook/. string "text" no
description (Optional) The description of the parameter. string "Managed by Terraform." no
ignore_value_changes (Optional) Whether to manage the parameter value with Terraform. Ignore changes of value or secret_value if true. Defaults to false. bool false no
kms_key (Optional) The ARN or ID of the AWS KMS key to be used to encrypt the parameter value with SECURE_STRING type. If you don't specify this value, then Parameter Store defaults to using the AWS account's default KMS key named aws/ssm. If the default KMS key with that name doesn't yet exist, then AWS Parameter Store creates it for you automatically the first time. string null no
module_tags_enabled (Optional) Whether to create AWS Resource Tags for the module informations. bool true no
region (Optional) The region in which to create the module resources. If not provided, the module resources will be created in the provider's configured region. string null no
resource_group (Optional) A configurations of Resource Group for this module. resource_group as defined below.
(Optional) enabled - Whether to create Resource Group to find and group AWS resources which are created by this module. Defaults to true.
(Optional) name - The name of Resource Group. A Resource Group name can have a maximum of 127 characters, including letters, numbers, hyphens, dots, and underscores. The name cannot start with AWS or aws. If not provided, a name will be generated using the module name and instance name.
(Optional) description - The description of Resource Group. Defaults to Managed by Terraform..
object({
enabled = optional(bool, true)
name = optional(string, "")
description = optional(string, "Managed by Terraform.")
})
{} no
secret_value (Required) The secure value of the parameter. This argument is valid with a type of SECURE_STRING string "" no
tags (Optional) A map of tags to add to all resources. map(string) {} no
tier (Optional) The parameter tier to assign to the parameter. If not specified, will use the default parameter tier for the region. Valid values are STANDARD, ADVANCED or INTELLIGENT_TIERING. string null no
type (Optional) The intended type of the parameter. Valid values are STRING, STRING_LIST or SECURE_STRING. Defaults to STRING. string "STRING" no
value (Required) The value of the parameter. This argument is not valid with a type of SECURE_STRING string "" no

Outputs

Name Description
allowed_pattern The regular expression used to validate the parameter value.
arn The ARN of the parameter.
data_type The data type of the parameter. Only required when type is STRING.
description The description of the parameter.
id The ID of the parameter.
kms_key The ARN or ID of the AWS KMS key which is used to encrypt the parameter value.
name The name of the parameter.
region The AWS region this module resources resides in.
resource_group The resource group created to manage resources in this module.
secret_value The secure value of the parameter. argument is valid with a type of SECURE_STRING.
tier The tier of the parameter.
type The type of the parameter.
value The value of the parameter. argument is not valid with a type of SECURE_STRING.
version The current version of the parameter.