You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
| <a name="input_parameters"></a> [parameters](#input\_parameters) | (Required) A list of parameters to manage in the parameter set. Each value of `parameters` block as defined below.<br> (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.<br> (Optional) `description` - The description of the parameter.<br> (Optional) `tier` - The parameter tier to assign to the parameter. Valid values are `STANDARD`, `ADVANCED` or `INTELLIGENT_TIERING`.<br> (Optional) `type` - The intended type of the parameter. Valid values are `STRING`, `STRING_LIST`. Not support `SECURE_STRING`.<br> (Optional) `data_type` - The data type of the parameter. Only required when `type` is `STRING`. Valid values are `text`, `aws:ec2:image` for AMI format.<br> (Optional) `allowed_pattern` - A regular expression used to validate the parameter value.<br> (Required) `value` - The value of the parameter. | `list(map(string))` | n/a | yes |
34
+
| <a name="input_parameters"></a> [parameters](#input\_parameters) | (Required) A list of parameters to manage in the parameter set. Each value of `parameters` block as defined below.<br> (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.<br> (Optional) `description` - The description of the parameter.<br> (Optional) `tier` - The parameter tier to assign to the parameter. Valid values are `STANDARD`, `ADVANCED` or `INTELLIGENT_TIERING`.<br> (Optional) `type` - The intended type of the parameter. Valid values are `STRING`, `STRING_LIST`. Not support `SECURE_STRING`.<br> (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.<br> (Optional) `allowed_pattern` - A regular expression used to validate the parameter value.<br> (Required) `value` - The value of the parameter. | <pre>list(object({<br> name = string<br> description = optional(string)<br> tier = optional(string)<br> type = optional(string)<br> data_type = optional(string)<br> allowed_pattern = optional(string)<br> value = string<br> }))</pre> | n/a | yes |
39
35
| <aname="input_path"></a> [path](#input\_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 |
40
36
| <aname="input_allowed_pattern"></a> [allowed\_pattern](#input\_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 |
41
-
| <aname="input_data_type"></a> [data\_type](#input\_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:ec2:image` for AMI format. Defaults to `text`. |`string`|`"text"`| no |
37
+
| <aname="input_data_type"></a> [data\_type](#input\_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 |
42
38
| <aname="input_description"></a> [description](#input\_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 |
43
39
| <aname="input_ignore_value_changes"></a> [ignore\_value\_changes](#input\_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 |
44
40
| <aname="input_module_tags_enabled"></a> [module\_tags\_enabled](#input\_module\_tags\_enabled)| (Optional) Whether to create AWS Resource Tags for the module informations. |`bool`|`true`| no |
Copy file name to clipboardExpand all lines: modules/ssm-parameter-store-parameter-set/variables.tf
+20-19Lines changed: 20 additions & 19 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,7 @@
1
1
variable"path" {
2
2
description="(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."
3
3
type=string
4
+
nullable=false
4
5
5
6
validation {
6
7
condition=alltrue([
@@ -43,14 +44,14 @@ variable "type" {
43
44
}
44
45
45
46
variable"data_type" {
46
-
description="(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:ec2:image` for AMI format. Defaults to `text`."
47
+
description="(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/`."
error_message="Valid values are `text`, `aws:ssm:integration`, `aws:ec2:image`."
54
55
}
55
56
}
56
57
@@ -68,12 +69,20 @@ variable "parameters" {
68
69
(Optional) `description` - The description of the parameter.
69
70
(Optional) `tier` - The parameter tier to assign to the parameter. Valid values are `STANDARD`, `ADVANCED` or `INTELLIGENT_TIERING`.
70
71
(Optional) `type` - The intended type of the parameter. Valid values are `STRING`, `STRING_LIST`. Not support `SECURE_STRING`.
71
-
(Optional) `data_type` - The data type of the parameter. Only required when `type` is `STRING`. Valid values are `text`, `aws:ec2:image` for AMI format.
72
+
(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.
72
73
(Optional) `allowed_pattern` - A regular expression used to validate the parameter value.
| <aname="input_name"></a> [name](#input\_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 |
39
39
| <aname="input_allowed_pattern"></a> [allowed\_pattern](#input\_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 |
40
-
| <aname="input_data_type"></a> [data\_type](#input\_data\_type)| (Optional) The data type of the parameter. Only required when `type` is `STRING`. Valid values are `text`, `aws:ec2:image` for AMI format. Defaults to `text`. |`string`|`"text"`| no |
40
+
| <aname="input_data_type"></a> [data\_type](#input\_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 |
41
41
| <aname="input_description"></a> [description](#input\_description)| (Optional) The description of the parameter. |`string`|`"Managed by Terraform."`| no |
42
42
| <aname="input_ignore_value_changes"></a> [ignore\_value\_changes](#input\_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 |
43
43
| <aname="input_kms_key"></a> [kms\_key](#input\_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 |
Copy file name to clipboardExpand all lines: modules/ssm-parameter-store-parameter/variables.tf
+5-3Lines changed: 5 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,7 @@
1
1
variable"name" {
2
2
description="(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 (/)."
3
3
type=string
4
+
nullable=false
4
5
}
5
6
6
7
variable"description" {
@@ -14,6 +15,7 @@ variable "tier" {
14
15
description="(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`."
15
16
type=string
16
17
default=null
18
+
nullable=true
17
19
18
20
validation {
19
21
condition=(var.tier!=null
@@ -37,14 +39,14 @@ variable "type" {
37
39
}
38
40
39
41
variable"data_type" {
40
-
description="(Optional) The data type of the parameter. Only required when `type` is `STRING`. Valid values are `text`, `aws:ec2:image` for AMI format. Defaults to `text`."
42
+
description="(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/`."
0 commit comments