How ignacio-hernani/terraform-aws-ipam works
Project type and purpose
• This is a Terraform module whose sole purpose is to manage AWS IPAM (IP Address Manager) resources.
• It exposes input variables (variables.tf), defines AWS IPAM resources (main.tf), and exports outputs (outputs.tf).
File structure
• Top‐level files:
• versions.tf – pins Terraform core and AWS provider versions
• main.tf – declares AWS IPAM resources (scopes, pools, etc.)
• variables.tf – defines module inputs (environment, project_name, IPAM parameters)
• outputs.tf – exposes resource IDs and ARNs back to the caller
• README.md/.gitignore – documentation and ignore rules
• examples/basic/main.tf – shows how a consumer would invoke this module with provider configuration and input values
README for additional insights
• Usage block shows a consumer’s view:
module "ipam" {
source = "app.terraform.io/YOUR-ORG/ipam/aws"
version = "1.0.0"
environment = "dev"
project_name = "my-project"
…
}
• Requirements: Terraform ≥1.5.0, AWS provider ≥5.0