Documentation
¶
Index ¶
Constants ¶
View Source
const AwsInternetGatewayName = "aws_internet_gateway"
View Source
const AwsResourceName = "aws_vpc"
View Source
const AzureResourceName = "azurerm_virtual_network"
View Source
const GcpResourceName = "google_compute_network"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AwsInternetGateway ¶
type AwsInternetGateway struct {
*common.AwsResource `hcl:",squash" default:"name=aws_internet_gateway"`
VpcId string `hcl:"vpc_id,expr"`
}
AwsInternetGateway : by default, Internet Gateway is associated with VPC
func (*AwsInternetGateway) GetId ¶
func (igw *AwsInternetGateway) GetId() string
type AwsVpc ¶
type AwsVpc struct {
*common.AwsResource `hcl:",squash" default:"name=aws_vpc"`
CidrBlock string `hcl:"cidr_block" json:"cidr_block,omitempty"`
EnableDnsHostnames bool `hcl:"enable_dns_hostnames" json:"enable_dns_hostnames,omitempty"` // needed for publicly accessible rds
}
func (*AwsVpc) GetDefaultRouteTableId ¶
type AzureVnet ¶
type AzureVnet struct {
*common.AzResource `hcl:",squash" default:"name=azurerm_virtual_network"`
AddressSpace []string `hcl:"address_space" json:"address_space"`
}
type GoogleComputeNetwork ¶ added in v0.1.46
type GoogleComputeNetwork struct {
*common.GcpResource `hcl:",squash" default:"name=google_compute_network"`
RoutingMode string `hcl:"routing_mode"` // REGIONAL
Description string `hcl:"description"`
AutoCreateSubnetworks bool `hcl:"auto_create_subnetworks"`
DeleteDefaultRoutesOnCreate bool `hcl:"delete_default_routes_on_create"`
}
Click to show internal directories.
Click to hide internal directories.