Skip to content

Latest commit

 

History

History

ipam

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

ipam

This module creates following resources.

  • aws_vpc_ipam
  • aws_vpc_ipam_scope (optional)
  • aws_vpc_ipam_resource_discovery_association (optional)

Requirements

Name Version
terraform >= 1.5
aws >= 4.58

Providers

Name Version
aws 5.19.0

Modules

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

Resources

Name Type
aws_vpc_ipam.this resource
aws_vpc_ipam_resource_discovery_association.this resource
aws_vpc_ipam_scope.this resource
aws_region.this data source
aws_regions.this data source

Inputs

Name Description Type Default Required
name (Required) The name of the IPAM. string n/a yes
additional_private_scopes (Optional) A list of additional scopes to create and manage by the IPAM. A scope is the highest-level container within IPAM. When you create an IPAM, IPAM creates two default scopes for you. Each scope represents the IP space for a single network. Each block of additional_scopes as defined below.
(Required) name - A name of the scope in the IPAM.
(Optional) description - A description of the scope in the IPAM.
list(object({
name = string
description = optional(string, "Managed by Terraform.")
}))
[] no
additional_resource_discovery_associations (Optional) A list of additional associations to an IPAM resource discovery with an Amazon VPC IPAM. A resource discovery is an IPAM component that enables IPAM to manage and monitor resources that belong to the owning account. Each block of additional_resource_discovery_associations as defined below.
(Required) resource_discovery - The ID of the Resource Discovery to associate.
(Optional) tags - A map of tags to add to the IPAM resource discovery association resource.
list(object({
resource_discovery = string
tags = optional(map(string), {})
}))
[] no
cascade_deletion_enabled (Optional) Whether to enable you to quickly delete an IPAM, private scopes, pools in private scopes, and any allocations in the pools in private scopes. Defaults to true. bool true no
description (Optional) A description for the IPAM. string "Managed by Terraform." no
module_tags_enabled (Optional) Whether to create AWS Resource Tags for the module informations. bool true no
operating_regions (Optional) A set of operating regions for the IPAM. Operating Regions are AWS Regions where the IPAM is allowed to manage IP address CIDRs. IPAM only discovers and monitors resources in the AWS Regions you select as operating Regions. The current region is required to include. set(string) [] 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

Outputs

Name Description
additional_private_scopes The additional private scopes in the IPAM. You can create additional private scopes if you require support for multiple disconnected private networks. Additional private scopes allow you to create pools and manage resources that use the same IP space. You cannot create additional public scopes.
id - The ID of the scope.
arn - The Amazon Resource Name (ARN) of the scope.
name - The name of the scope.
description - The description of the scope.
type - The type of the scope.
is_default - Whether the scope is the default scope or not.
pool_count - The number of pools in the scope.
additional_resource_discoveries The additional resource discoveries in the IPAM.
id - The ID of resource discovery.
association_id - The resource discovery association ID.
state - The lifecycle state of the association when you associate or disassociate a resource discovery.
arn The ARN of the IPAM.
default_resource_discovery The default resource discovery in the IPAM.
id - The IPAM's default resource discovery ID.
association_id - The IPAM's default resource discovery association ID.
default_scopes The default scopes in the IPAM. A scope is a top-level container in IPAM. Each scope represents an IP-independent network. Scopes enable you to represent networks where you have overlapping IP space. When you create an IPAM, IPAM automatically creates two scopes: public and private. The private scope is intended for private IP space. The public scope is intended for all internet-routable IP space.
private - The ID of the IPAM's private scope.
public - The ID of the IPAM's public scope.
description The description of the IPAM.
id The ID of the IPAM.
name The name of the IPAM.
operating_regions A set of operating regions for the IPAM.
scope_count The number of scopes in the IPAM.