Skip to main content
Providers

ElasticIp

A resource of the AWS provider, version 0.3.0, in its Networking group. Import it with:

import ElasticIp from "aws/networking"

Example

resource ElasticIp example {
    domain             = "vpc"
    networkBorderGroup = "example-value"
    publicIpv4Pool     = "example-value"
    tags               = "..."
}

Properties

Set by your code in the resource block. A required one must be set; any other you leave out takes the value under Default, if it has one.

NameTypeDefaultRequiredDescription
domainstring"vpc"NoThe domain for the Elastic IP Allowed: "vpc", "standard"
networkBorderGroupstring—NoThe ID of the network border group for Local/Wavelength Zones
publicIpv4Poolstring—NoThe ID of an address pool for BYOIP
tagsobject—NoTags to apply to the Elastic IP

Set by AWS after the resource is created: your code can read them but not set them. An importable one identifies an existing resource.

NameTypeImportableDescription
allocationIdstringNoThe allocation ID for the Elastic IP
publicIpstringNoThe Elastic IP address
instanceIdstringNoThe ID of the associated instance (if any)
associationIdstringNoThe association ID (if associated)
networkInterfaceIdstringNoThe ID of the network interface (if associated)
privateIpAddressstringNoThe private IP address associated with the Elastic IP

On this page