Generic module to creates SSM Parameters for AWS.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

3.9KB

terraform-module-aws-ssm-parameters

Generic module to creates SSM Parameters for AWS.

Requirements

Name Version
terraform >= 0.12
aws ~> 2.47

Providers

Name Version
aws ~> 2.47

Inputs

Name Description Type Default Required
allowed_patterns List of regular expression used to validate the parameter value. list [] no
descriptions List of descriptions for parameters. list(string) [] no
enabled Enable this module bool true no
iam_policy_create Create read only and read write policy to get an access to SSM paramters bool false no
iam_policy_name_prefix_read_only Name of the IAM read only access to SSM parameter policy string "" no
iam_policy_name_prefix_read_write Name of the IAM read write access to SSM parameter policy string "" no
iam_policy_path Path in which to create the policies. string "/" no
ignore_changes_on_value Whether or not to ignore changes made manually on the value. Applies to all specified parameters. If set to true, terraform will never update the value. bool false no
kms_key_alias_name Alias of the kms key if toggle kms_key_create is set string "" no
kms_key_arn ARN of the kms key if toggle kms_key_create is disable. string "" no
kms_key_create Create a kms key for secure string parameters. bool false no
kms_key_name Name of the kms key if toggle kms_key_create is set string "" no
kms_tags Tags that will be merged with variable tags for the kms key map {} no
names List of names for parameters. list(string) n/a yes
overwrites Ordered list of boolean to say whether if terraform should overwrite an existing parameter not managed by terraform.( ignore_changes_on_value should then be used to manage the update behavior). list(bool) [] no
parameters_count Number of parameters. This value cannot be automaticly computed in terraform 0.12.x. number 0 no
prefix The prefix to be used for every SSM Parameters. The prefix must match [A-Za-z0-9/] string "" no
tags Global tags for resources map {} no
types List of types for parameters. list(string) n/a yes
use_default_kms_key Use default kms_key bool false no
values List of values for parameters. list(string) n/a yes

Outputs

Name Description
arns ARNs of SSM Parameters
iam_policy_read_only_arn ARN of the read only policy
iam_policy_read_only_description The description of the read only policy
iam_policy_read_only_id ID of the read only policy
iam_policy_read_only_name The name of the read only policy
iam_policy_read_only_path Path of the read only policy
iam_policy_read_only_policy The policy document
iam_policy_read_write_arn ARN of the read write policy
iam_policy_read_write_description The description of the read write policy
iam_policy_read_write_id ID of the read write policy
iam_policy_read_write_name The name of the read write policy
iam_policy_read_write_path Path of the read write policy
iam_policy_read_write_policy The policy document
kms_alias_arn The Amazon Resource Name (ARN) of the key alias
kms_alias_target_key_arn The Amazon Resource Name (ARN) of the target key identifier
kms_key_arn The Amazon Resource Name (ARN) of the key
kms_key_id Globally unique identifier for the key
names Names of SSM Parameters
types Types of SSM parameters
versions Versions of SSM parameters