diff --git a/README.md b/README.md
index 603f3ec..37adb69 100644
--- a/README.md
+++ b/README.md
@@ -121,6 +121,7 @@ The IPAM `operating_region` variable must be set for the primary Region in your
| [top\_auto\_import](#input\_top\_auto\_import) | `auto_import` setting for top-level pool. | `bool` | `null` | no |
| [top\_cidr\_authorization\_context](#input\_top\_cidr\_authorization\_context) | A signed document that proves that you are authorized to bring the specified IP address range to Amazon using BYOIP. Document is not stored in the state file. For more information, refer to https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/vpc_ipam_pool_cidr#cidr_authorization_context. | `any` | `null` | no |
| [top\_description](#input\_top\_description) | Description of top-level pool. | `string` | `""` | no |
+| [top\_name](#input\_top\_name) | Name of top-level pool. | `string` | `""` | no |
| [top\_ram\_share\_principals](#input\_top\_ram\_share\_principals) | Principals to create RAM shares for top-level pool. | `list(string)` | `null` | no |
## Outputs
@@ -134,4 +135,4 @@ The IPAM `operating_region` variable must be set for the primary Region in your
| [pools\_level\_1](#output\_pools\_level\_1) | Map of all pools at level 1. |
| [pools\_level\_2](#output\_pools\_level\_2) | Map of all pools at level 2. |
| [pools\_level\_3](#output\_pools\_level\_3) | Map of all pools at level 3. |
-
+
\ No newline at end of file
diff --git a/main.tf b/main.tf
index 365cc0b..6ba8718 100644
--- a/main.tf
+++ b/main.tf
@@ -53,6 +53,7 @@ module "level_zero" {
description = var.top_description
cidr_authorization_context = var.top_cidr_authorization_context
tags = {}
+ name = var.top_name
}
}
diff --git a/variables.tf b/variables.tf
index 5de460c..babbf52 100644
--- a/variables.tf
+++ b/variables.tf
@@ -55,6 +55,12 @@ variable "top_description" {
default = ""
}
+variable "top_name" {
+ description = "Name of top-level pool."
+ type = string
+ default = ""
+}
+
variable "top_cidr_authorization_context" {
description = "A signed document that proves that you are authorized to bring the specified IP address range to Amazon using BYOIP. Document is not stored in the state file. For more information, refer to https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/vpc_ipam_pool_cidr#cidr_authorization_context."
type = any