aws::transit-gateway-vpc-attachment

Creates a transit gateway vpc attachment.

Example

aws::transit-gateway-vpc-attachment transit-gateway-vpc-attachment-example
    subnets: [
        $(aws::subnet example-subnet-1),
        $(aws::subnet example-subnet-2)
    ]
    transit-gateway: $(aws::transit-gateway example-transit-gateway)
    vpc: $(aws::vpc vpc-example)

    tags: {
        Name: "Transit-gateway-vpc-attachment-example"
    }
end

Attributes

Attribute Description
subnets list List of subnets for the availability zone that the transit gateway uses. Limited to one subnet per availability zone. (Required)
transit-gateway The transit gateway for this attachment. (Required)
vpc The VPC to attach to the transit gateway selected. This VPC should have at least one subnet associated with it. (Required)
options subresource

The VPC attachment options.

appliance-mode-support
Enable appliance mode support. Defaults to enable. Valid values are enable or disable.
dns-support
Enable DNS resolution for the attachment. Defaults to enable. Valid values are enable or disable.
ipv6-support
Enable support for ipv6 block support for the attachment. Defaults to disable. Valid values are enable or disable.

Outputs

Attribute Description
id The ID of the attachment.
state The state of the attachment.