Skip to main content

Egress Only Internet Gateway

Provides an Internet Gateway

exports.createResources = () => [
{
type: "EgressOnlyInternetGateway",
group: "EC2",
name: "my-eigw",
dependencies: ({}) => ({
vpc: "eoigw-vpc",
}),
},
];

Examples

Properties

Dependencies

Listing

List only the egress internet gateway with the EgressOnlyInternetGateway filter:

gc l -t EgressOnlyInternetGateway
Listing resources on 1 provider: aws
✓ aws
✓ Initialising
✓ Listing 1/1
┌────────────────────────────────────────────────────────────────────────┐
│ 1 EC2::EgressOnlyInternetGateway from aws │
├────────────────────────────────────────────────────────────────────────┤
│ name: my-eigw │
│ managedByUs: Yes │
│ live: │
│ Attachments: │
│ - State: attached │
│ VpcId: vpc-0a59a82528585ac3a │
│ EgressOnlyInternetGatewayId: eigw-0716031adb54c7170 │
│ Tags: │
│ - Key: gc-created-by-provider │
│ Value: aws │
│ - Key: gc-managed-by │
│ Value: grucloud │
│ - Key: gc-project-name │
│ Value: egress-only-internet-gateway │
│ - Key: gc-stage │
│ Value: dev │
│ - Key: Name │
│ Value: my-eigw │
│ │
└────────────────────────────────────────────────────────────────────────┘


List Summary:
Provider: aws
┌───────────────────────────────────────────────────────────────────────┐
│ aws │
├────────────────────────────────┬──────────────────────────────────────┤
│ EC2::EgressOnlyInternetGateway │ my-eigw │
└────────────────────────────────┴──────────────────────────────────────┘
1 resource, 1 type, 1 provider
Command "gc l -t EgressOnlyInternetGateway" executed in 7s, 173 MB