public_ip

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: 2 Imported by: 0

Documentation

Index

Constants

View Source
const AwsResourceName = "aws_eip"
View Source
const AzureResourceName = "azurerm_public_ip"

Variables

This section is empty.

Functions

This section is empty.

Types

type AwsElasticIp

type AwsElasticIp struct {
	*common.AwsResource `hcl:",squash" default:"name=aws_eip"`
	InstanceId          string `hcl:"instance" hcle:"omitempty"`
	Vpc                 bool   `hcl:"vpc,optional" hcle:"omitempty"`
	NetworkInterfaceId  string `hcl:"network_interface,expr" hcle:"omitempty"`
}

EIP may require IGW to exist prior to association. Use depends_on to set an explicit dependency on the IGW.

type AzurePublicIp

type AzurePublicIp struct {
	*common.AzResource `hcl:",squash" default:"name=azurerm_public_ip"`
	AllocationMethod   string `hcl:"allocation_method"`
}

func (AzurePublicIp) GetId

func (pIp AzurePublicIp) GetId() string

Jump to

Keyboard shortcuts

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