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.
|
Outputs¶
Attribute | Description |
---|---|
id | The ID of the attachment. |
state | The state of the attachment. |