Documentation ¶
Index ¶
Constants ¶
View Source
const AwsInternetGatewayName = "aws_internet_gateway"
View Source
const AwsResourceName = "aws_vpc"
View Source
const AzureResourceName = "azurerm_virtual_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"` EnableDnsHostnames bool `hcl:"enable_dns_hostnames"` // 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"` }
Click to show internal directories.
Click to hide internal directories.