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-set

This module creates following resources.

  • aws_ssm_parameter

Requirements

Name Version
terraform >= 1.12
aws >= 6.12

Providers

No providers.

Modules

Name Source Version
resource_group tedilabs/misc/aws//modules/resource-group ~> 0.12.0
this ../ssm-parameter-store-parameter n/a

Resources

No resources.

Inputs

Name Description Type Default Required
parameters (Required) A list of parameters to manage in the parameter set. Each value of parameters block as defined below.
(Required) name - The name of the parameter. This is concatenated with the path of the parameter set for the id. The name should begin with slash (/) and end without trailing slash.
(Optional) description - The description of the parameter.
(Optional) tier - The parameter tier to assign to the parameter. Valid values are STANDARD, ADVANCED or INTELLIGENT_TIERING.
(Optional) type - The intended type of the parameter. Valid values are STRING, STRING_LIST. Not support SECURE_STRING.
(Optional) data_type - 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.
(Optional) allowed_pattern - A regular expression used to validate the parameter value.
(Required) value - The value of the parameter.
list(object({
name = string
description = optional(string)
tier = optional(string)
type = optional(string)
data_type = optional(string)
allowed_pattern = optional(string)
value = string
}))
n/a yes
path (Required) A path used for the prefix of each parameter name created by this parameter set. The path should begin with slash (/) and end without trailing slash. string n/a yes
allowed_pattern (Optional) The default regular expression used to validate each parameter value in the parameter set. This is only used when a specific pattern for the parameter is not provided. For example, for STRING types with values restricted to numbers, you can specify ^d+$. string "" no
data_type (Optional) The default data type of parameters in the parameter set. Only required when type is STRING. This is only used when a specific data type of the parameter is not provided. 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 default description of parameters in the parameter set. This is only used when a specific description of the parameter is not provided. 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
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
tags (Optional) A map of tags to add to all resources. map(string) {} no
tier (Optional) The default parameter tier to assign to parameters in the parameter set. This is only used when a specific tier of the parameter is not provided. Valid values are STANDARD, ADVANCED or INTELLIGENT_TIERING. Defaults to INTELLIGENT_TIERING. string "INTELLIGENT_TIERING" no
type (Optional) The default type of parameters in the parameter set. This is only used when a specific type of the parameter is not provided. Valid values are STRING, STRING_LIST. Not support SECURE_STRING. Defaults to STRING. string "STRING" no

Outputs

Name Description
parameters The list of parameters in the parameter set.
path The path used for the prefix of each parameter names managed by this parameter set.
region The AWS region this module resources resides in.
resource_group The resource group created to manage resources in this module.