Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

README.md

elastic-ip

This module creates following resources.

  • aws_eip
  • aws_eip_domain_name (optional)

Requirements

Name Version
terraform >= 1.12
aws >= 6.12

Providers

Name Version
aws 6.14.1

Modules

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

Resources

Name Type
aws_eip.this resource
aws_eip_domain_name.this resource

Inputs

Name Description Type Default Required
name (Required) The name of the Elastic IP. string n/a yes
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
pool (Optional) The configuration to allocate an Elastic IP address for BYOIP, IPAM_POOL or OUTPOST types. pool as defined below.
(Required) id - The ID of a pool you want to use for allocating an Elastic IP address.
BYOIP - The ID of EC2 IPv4 address pool.
IPAM_POOL - The ID of an IPAM pool which has an Amazon-provided or BYOIP public IPv4 CIDR provisioned to it.
OUTPOST - The ID of a customer-owned address pool.
(Optional) address - The Elastic IP address from an address pool.
object({
id = string
address = optional(string)
})
null no
region (Optional) The region in which to create the module resources. If not provided, the module resources will be created in the provider's configured region. string null no
resource_group (Optional) A configurations of Resource Group for this module. resource_group as defined below.
(Optional) enabled - Whether to create Resource Group to find and group AWS resources which are created by this module. Defaults to true.
(Optional) name - 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. If not provided, a name will be generated using the module name and instance name.
(Optional) description - The description of Resource Group. Defaults to Managed by Terraform..
object({
enabled = optional(bool, true)
name = optional(string, "")
description = optional(string, "Managed by Terraform.")
})
{} no
reverse_domain_name (Optional) The reverse DNS domain name for the Elastic IP address. string null 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, BYOIP, 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.
pool The pool configuration of the Elastic IP address for BYOIP, IPAM_POOL or OUTPOST types.
private_domain The private domain associated with the Elastic IP address.
private_ip The Private IP address.
public_domain The public domain associated with the Elastic IP address.
public_ip The Elastic IP address.
region The AWS region this module resources resides in.
resource_group The resource group created to manage resources in this module.
reverse_domain_name The reverse DNS domain name for the Elastic IP address.
type The type of the Elastic IP address.