Skip to content

Latest commit

 

History

History

elastic-ip

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

elastic-ip

This module creates following resources.

  • aws_eip

Requirements

Name Version
terraform >= 1.6
aws >= 5.3

Providers

Name Version
aws 5.22.0

Modules

Name Source Version
resource_group tedilabs/misc/aws//modules/resource-group ~> 0.10.0

Resources

Name Type
aws_eip.this resource

Inputs

Name Description Type Default Required
name (Required) The name of the Elastic IP. string n/a yes
ipam_pool (Optional) The configuration to allocate an Elastic IP address from the IPAM pool. Required if type is IPAM_POOL. ipam_pool as defined below.
(Required) id - The ID of an IPv4 IPAM public pool you want to use for allocating an Elastic IP address.
(Optional) address - The Elastic IP address to recover or an IPv4 address from an address pool.
object({
id = string
address = optional(string)
})
null no
module_tags_enabled (Optional) Whether to create AWS Resource Tags for the module informations. bool true no
network_border_group (Optional) The name of the network border group. A unique set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises IP addresses. Use this parameter to limit the IP address to this location. IP addresses cannot move between network border groups. Defaults to the region of the VPC. string null no
resource_group_description (Optional) The description of Resource Group. string "Managed by Terraform." no
resource_group_enabled (Optional) Whether to create Resource Group to find and group AWS resources which are created by this module. bool true no
resource_group_name (Optional) The name of Resource Group. A Resource Group name can have a maximum of 127 characters, including letters, numbers, hyphens, dots, and underscores. The name cannot start with AWS or aws. string "" no
tags (Optional) A map of tags to add to all resources. map(string) {} no
timeouts (Optional) How long to wait for the elastic ip to read/update/delete.
object({
read = optional(string, "15m")
update = optional(string, "5m")
delete = optional(string, "3m")
})
{} no
type (Optional) The type of the Elastic IP to decide how to allocate. Valid values are AMAZON, IPAM_POOL and OUTPOST. Defaults to AMAZON. string "AMAZON" no

Outputs

Name Description
allocation_id The allocation ID of the Elastic IP.
id The ID of the Elastic IP.
name The name of the Elastic IP.
network_border_group The name of the network border group.
public_ip The Elastic IP address.
scope The scope of the Elastic IP address.
type The type of the Elastic IP address.