aws∕ram∕tgw‒vpc‒attachment - dicomgrid/pt-modules GitHub Wiki
Usage
To use this module in your Terraform, refer to the below module example:
module "aws_ram_tgw_vpc_attachment" {
source = "git::https://github.com/dicomgrid/pt-modules.git?ref=null"
# See inputs below for additional required parameters
}
Attributes
Requirements
Name | Version |
---|---|
terraform | ~> 1.0 |
aws | ~> 4.64.0 |
Providers
Name | Version |
---|---|
aws.accepter | ~> 4.64.0 |
aws.requester | ~> 4.64.0 |
Modules
Name | Source | Version |
---|---|---|
subnet_routes | ./subnet-routes | n/a |
Resources
Name | Type |
---|---|
aws_ec2_transit_gateway_vpc_attachment.main | resource |
aws_ec2_transit_gateway_vpc_attachment_accepter.main | resource |
aws_route_tables.routes | data source |
aws_subnet.main | data source |
aws_subnets.main | data source |
aws_subnets.routes | data source |
Inputs
Name | Description | Type | Default | Required |
---|---|---|---|---|
tags | n/a | any |
n/a | yes |
tgw_id | The tgw id of the tgw that is to be shared | any |
n/a | yes |
vpc_id | The ID of the VPC where the subnets are located | string |
n/a | yes |
aws_project_id | n/a | string |
"null" |
no |
code_managed | n/a | string |
"true" |
no |
compliance | n/a | string |
"null" |
no |
destination_cidr_blocks | n/a | list |
[] |
no |
map_migrated | n/a | string |
"null" |
no |
onetime | n/a | string |
"null" |
no |
routes_subnet_name_values | List of tag:Name values to filter subnets' route tables the routes should be added to. Default [] is all subnets for VPC | set(string) |
[] |
no |
tgwa_subnet_name_values | List of tag:Name values to filter subnets the TGW should be attached to. Default [] is any subnets for VPC | set(string) |
[] |
no |
Outputs
Name | Description |
---|---|
accepter | n/a |
requester | n/a |