Carina

Resource

aws.ec2.EgressOnlyInternetGateway

Describes an egress-only internet gateway.

Example

let vpc = aws.ec2.Vpc {
  cidr_block = '10.0.0.0/16'

  tags = {
    Environment = 'example'
  }
}

aws.ec2.EgressOnlyInternetGateway {
  # The VPC needs an IPv6 CIDR and an IPv6 route to this gateway before it
  # can carry traffic.
  vpc_id = vpc.vpc_id

  tags = {
    Environment = 'example'
  }
}

Argument Reference

vpc_id

The ID of the VPC for which to create the egress-only internet gateway.

tags

The tags for the resource.

Attribute Reference

egress_only_internet_gateway_id

The ID of the egress-only internet gateway.