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
| <aname="input_name"></a> [name](#input\_name)| (Required) A name to identify the 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`. |`string`| n/a | yes |
36
36
| <aname="input_description"></a> [description](#input\_description)| (Optional) The description of the resource group. |`string`|`"Managed by Terraform."`| no |
37
37
| <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 |
38
-
| <aname="input_query"></a> [query](#input\_query)| (Optional) A configuration for the actual query used to match against resources. It supports `resource_types` and `resource_tags`. `query` block as defined below.<br> (Optional) `resource_tags` - A map of key/value pairs that are compared to the tags attached to resources.<br> (Optional) `resource_types` - A list of resource-type specification strings with `AWS::service-id::resource-type` format. Limit the results to only those resource types that match the filter. Specify `AWS::AllSupported` to include resources of any resources that are currently supported by Resource Group. | <pre>object({<br> resource_tags = optional(map(string), {})<br> resource_types = optional(list(string), ["AWS::AllSupported"])<br> })</pre> |`{}`| no |
38
+
| <aname="input_query"></a> [query](#input\_query)| (Optional) A configuration for the actual query used to match against resources. It supports `resource_types` and `resource_tags`. `query` block as defined below.<br/> (Optional) `resource_tags` - A map of key/value pairs that are compared to the tags attached to resources.<br/> (Optional) `resource_types` - A list of resource-type specification strings with `AWS::service-id::resource-type` format. Limit the results to only those resource types that match the filter. Specify `AWS::AllSupported` to include resources of any resources that are currently supported by Resource Group. | <pre>object({<br/> resource_tags = optional(map(string), {})<br/> resource_types = optional(list(string), ["AWS::AllSupported"])<br/> })</pre> |`{}`| no |
39
+
| <aname="input_region"></a> [region](#input\_region)| (Optional) The region in which to create the resource group. If not provided, the resource group will be created in the provider's configured region. |`string`|`null`| no |
39
40
| <aname="input_tags"></a> [tags](#input\_tags)| (Optional) A map of tags to add to all resources. |`map(string)`|`{}`| no |
40
41
41
42
## Outputs
@@ -44,7 +45,9 @@ No modules.
44
45
|------|-------------|
45
46
| <aname="output_arn"></a> [arn](#output\_arn)| The ARN of the resource group. |
46
47
| <aname="output_description"></a> [description](#output\_description)| The description of the resource group. |
48
+
| <aname="output_id"></a> [id](#output\_id)| The ID of the resource group. |
47
49
| <aname="output_name"></a> [name](#output\_name)| The name of the resource group. |
50
+
| <aname="output_region"></a> [region](#output\_region)| The region in which the resource group is created. |
48
51
| <aname="output_resource_tags"></a> [resource\_tags](#output\_resource\_tags)| The resource tags used by the resource group to query resources. |
49
52
| <aname="output_resource_types"></a> [resource\_types](#output\_resource\_types)| The resource types used by the resource group to query resources. |
Copy file name to clipboardExpand all lines: modules/resource-group/variables.tf
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,10 @@
1
+
variable"region" {
2
+
description="(Optional) The region in which to create the resource group. If not provided, the resource group will be created in the provider's configured region."
3
+
type=string
4
+
default=null
5
+
nullable=true
6
+
}
7
+
1
8
variable"name" {
2
9
description="(Required) A name to identify the 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`."
0 commit comments