route_table

package
v0.1.37 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const AwsResourceName = "aws_route_table"
View Source
const AzureResourceName = "azurerm_route_table"

Variables

This section is empty.

Functions

This section is empty.

Types

type AwsDefaultRouteTable

type AwsDefaultRouteTable struct {
	*common.AwsResource `hcl:",squash"`
	DefaultRouteTableId string               `hcl:"default_route_table_id,expr"`
	Routes              []AwsRouteTableRoute `hcl:"route,blocks"`
}

type AwsRouteTable

type AwsRouteTable struct {
	*common.AwsResource `hcl:",squash" default:"name=aws_route_table"`
	VpcId               string               `hcl:"vpc_id,expr"`
	Routes              []AwsRouteTableRoute `hcl:"route,blocks"`
}

type AwsRouteTableRoute

type AwsRouteTableRoute struct {
	CidrBlock string `hcl:"cidr_block"`
	GatewayId string `hcl:"gateway_id,expr"`
}

type AzureRouteTable

type AzureRouteTable struct {
	*common.AzResource `hcl:",squash" default:"name=azurerm_route_table"`
	Routes             []AzureRouteTableRoute `hcl:"route,blocks"`
}

type AzureRouteTableAssociation

type AzureRouteTableAssociation struct {
	*common.AzResource `hcl:",squash"`
	RouteTableId       string `hcl:"route_table_id,expr"`
	SubnetId           string `hcl:"subnet_id,expr"`
}

type AzureRouteTableRoute

type AzureRouteTableRoute struct {
	Name          string `hcl:"name"`
	AddressPrefix string `hcl:"address_prefix"`
	NextHopType   string `hcl:"next_hop_type"` // VirtualNetworkGateway , VnetLocal , Internet , VirtualAppliance and None
}

Jump to

Keyboard shortcuts

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