diff --git a/vpc/README.md b/vpc/README.md index 8bc7ab7..0d6f0e3 100644 --- a/vpc/README.md +++ b/vpc/README.md @@ -76,7 +76,6 @@ No modules. | [enable\_aws\_dns](#input\_enable\_aws\_dns) | Enable use of AWS DNS server. This overrides the settings of vpc\_dns\_servers and enables dns\_support and dns\_hostnames | `bool` | `false` | no | | [enable\_dns\_hostnames](#input\_enable\_dns\_hostnames) | Enable DNS hostnames within the VPC | `bool` | `true` | no | | [enable\_dns\_support](#input\_enable\_dns\_support) | Enable DNS support within the VPC | `bool` | `true` | no | -| [enable\_nau\_metrics](#input\_enable\_nau\_metrics) | Enable use of Network Address Usage (nau) metrics for cloudwatch | `bool` | `false` | no | | [network\_census](#input\_network\_census) | Census Subnets | `list` |
[| no | | [override\_prefixes](#input\_override\_prefixes) | Override built-in prefixes by component. This should be used primarily for common infrastructure things | `map(string)` | `{}` | no | | [tags](#input\_tags) | AWS Tags to apply to appropriate resources (S3, KMS). Do not include safeguard tags here, use the data\_safeguard field for such things. | `map(string)` | `{}` | no | diff --git a/vpc/main.tf b/vpc/main.tf index d8fb34a..108f3dd 100644 --- a/vpc/main.tf +++ b/vpc/main.tf @@ -70,10 +70,11 @@ resource "aws_vpc_dhcp_options_association" "vpc" { # vpc #--- resource "aws_vpc" "vpc" { - cidr_block = var.vpc_cidr_block - enable_dns_support = local.enable_dns_support - enable_dns_hostnames = local.enable_dns_hostnames - enable_network_address_usage_metrics = var.enable_nau_metrics + cidr_block = var.vpc_cidr_block + enable_dns_support = local.enable_dns_support + enable_dns_hostnames = local.enable_dns_hostnames + ## not enabled in govcloud as of 2023-04-25, get a timeout on create, does not show in console + # enable_network_address_usage_metrics = var.enable_nau_metrics tags = merge( local.base_tags, diff --git a/vpc/variables.tf b/vpc/variables.tf index cc1e4b7..fa43b95 100644 --- a/vpc/variables.tf +++ b/vpc/variables.tf @@ -21,11 +21,12 @@ variable "enable_aws_dns" { default = false } -variable "enable_nau_metrics" { - description = "Enable use of Network Address Usage (nau) metrics for cloudwatch" - type = bool - default = false -} +## ## not enabled in govcloud as of 2023-04-25, get a timeout on create, does not show in console +## variable "enable_nau_metrics" { +## description = "Enable use of Network Address Usage (nau) metrics for cloudwatch" +## type = bool +## default = false +## } ### ##
"148.129.0.0/16",
"172.16.0.0/12",
"192.168.0.0/16"
]