Resource Type definition for AWS::EC2::EgressOnlyInternetGateway
To create ec2 egress only internet_gateway
resource "awscc_ec2_vpc" "example" {
cidr_block = "10.1.0.0/16"
}
resource "awscc_ec2_egress_only_internet_gateway" "example" {
vpc_id = awscc_ec2_vpc.example.id
}
vpc_id
(String) The ID of the VPC for which to create the egress-only internet gateway.egress_only_internet_gateway_id
(String) Service Generated ID of the EgressOnlyInternetGatewayid
(String) Uniquely identifies the resource.Import is supported using the following syntax:
$ terraform import awscc_ec2_egress_only_internet_gateway.example <resource ID>