Schema for EC2 VPN Gateway
resource "awscc_ec2_vpn_gateway" "example_vpn_gateway" {
type = "ipsec.1"
tags = [
{
key = "Name"
value = "Example VPN Gateway"
},
{
key = "Modified By"
value = "AWSCC"
}
]
}
resource "awscc_ec2_vpn_gateway" "example_vpn_gateway" {
type = "ipsec.1"
amazon_side_asn = 64512
tags = [
{
key = "Name"
value = "Example VPN Gateway"
},
{
key = "Modified By"
value = "AWSCC"
}
]
}
type
(String) The type of VPN connection the virtual private gateway supports.amazon_side_asn
(Number) The private Autonomous System Number (ASN) for the Amazon side of a BGP session.tags
(Attributes List) Any tags assigned to the virtual private gateway. (see below for nested schema)id
(String) Uniquely identifies the resource.vpn_gateway_id
(String) VPN Gateway ID generated by servicetags
Required:
key
(String)value
(String)Import is supported using the following syntax:
$ terraform import awscc_ec2_vpn_gateway.example <resource ID>