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
Click to show internal directories.
Click to hide internal directories.