Skip to content

SPHTech-Platform/terraform-aws-resource-group

Repository files navigation

Requirements

Name Version
terraform >= 1.6
aws >= 5.38

Providers

Name Version
aws 5.39.1

Modules

No modules.

Resources

Name Type
aws_resourcegroups_group.this resource

Inputs

Name Description Type Default Required
description A description of the resource group. string "" no
name The resource group's name. It 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
query The query that defines the membership of the group. This is a structure with properties that depend on the Type.
Only TAG_FILTERS_1_0 type is supported.
tag_filter - A list of key-value pair objects that limit which resources can be members of the resource group.
resource_filter - A list of resource types that can be included in the resource group.
object({
tag_filter = optional(map(string), {})
resource_filter = optional(list(string), ["AWS::AllSupported"])
})
{} no
tags Key-value map of resource tags to assign to the resource group. map(string) {} no

Outputs

Name Description
arn The ARN of the resource group.
name The name of the resource group.