Resource Type definition for AWS::EC2::TransitGateway
Example creation of AWS Transit Gateway, defining IPv4 and IPv6 CIDRs
resource "awscc_ec2_transit_gateway" "example_transit_gateway" {
amazon_side_asn = 64512
auto_accept_shared_attachments = "disable"
default_route_table_association = "enable"
default_route_table_propagation = "enable"
description = "Example AWS Transit Gateway"
dns_support = "enable"
transit_gateway_cidr_blocks = ["192.0.2.0/24", "2001:db8:abcd::/64"]
tags = [{
key = "Modified By"
value = "AWSCC"
}]
}
amazon_side_asn
(Number)association_default_route_table_id
(String)auto_accept_shared_attachments
(String)default_route_table_association
(String)default_route_table_propagation
(String)description
(String)dns_support
(String)multicast_support
(String)propagation_default_route_table_id
(String)tags
(Attributes List) (see below for nested schema)transit_gateway_cidr_blocks
(List of String)vpn_ecmp_support
(String)id
(String) Uniquely identifies the resource.transit_gateway_arn
(String)transit_gateway_id
(String)tags
Required:
key
(String)value
(String)Import is supported using the following syntax:
$ terraform import awscc_ec2_transit_gateway.example <resource ID>