Documentation ¶
Index ¶
Constants ¶
View Source
const AwsResourceName = "aws_subnet"
View Source
const AzureResourceName = "azurerm_subnet"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AwsSubnet ¶
type AwsSubnet struct { *common.AwsResource `hcl:",squash" default:"name=aws_subnet"` CidrBlock string `hcl:"cidr_block"` VpcId string `hcl:"vpc_id,expr"` AvailabilityZone string `hcl:"availability_zone,optional" hcle:"omitempty"` MapPublicIpOnLaunch bool `hcl:"map_public_ip_on_launch" hcle:"omitempty"` }
type AzureSubnet ¶
type AzureSubnet struct { *common.AzResource `hcl:",squash" default:"name=azurerm_subnet"` AddressPrefixes []string `hcl:"address_prefixes"` VirtualNetworkName string `hcl:"virtual_network_name,expr"` ServiceEndpoints []string `hcl:"service_endpoints" hcle:"omitempty"` }
func (*AzureSubnet) GetId ¶
func (subnet *AzureSubnet) GetId() string
Click to show internal directories.
Click to hide internal directories.