Carina

Resource

aws.ec2.InternetGateway

Describes an internet gateway.

Example

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

  tags = {
    Environment = 'example'
  }
}

aws.ec2.InternetGateway {
  vpc_id = vpc.vpc_id

  tags = {
    Environment = 'example'
  }
}

Argument Reference

vpc_id

The ID of the VPC to attach the internet gateway to. The provider attaches the IGW after creation and detaches before deletion.

tags

The tags for the resource.

Attribute Reference

internet_gateway_id

The ID of the internet gateway.