virtual_network

package
v0.1.32 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 5, 2022 License: MPL-2.0 Imports: 2 Imported by: 0

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" json:"cidr_block,omitempty"`
	EnableDnsHostnames  bool   `hcl:"enable_dns_hostnames" json:"enable_dns_hostnames,omitempty"` // needed for publicly accessible rds
}

func (*AwsVpc) GetDefaultRouteTableId

func (vpc *AwsVpc) GetDefaultRouteTableId() string

type AzureVnet

type AzureVnet struct {
	*common.AzResource `hcl:",squash"  default:"name=azurerm_virtual_network"`
	AddressSpace       []string `hcl:"address_space" json:"address_space"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL