From 95378b45f7415a3c3f0f4b0e36763a63bc65543a Mon Sep 17 00:00:00 2001 From: badra001 Date: Mon, 3 Apr 2023 15:21:07 -0400 Subject: [PATCH] update --- route53-zone-association/zone/README.md | 1 + route53-zone-association/zone/variables.tf | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/route53-zone-association/zone/README.md b/route53-zone-association/zone/README.md index 74b0a86..e3cf260 100644 --- a/route53-zone-association/zone/README.md +++ b/route53-zone-association/zone/README.md @@ -53,6 +53,7 @@ No modules. | [account\_alias](#input\_account\_alias) | AWS Account Alias (default: will pull from current account\_alias) | `string` | `""` | no | | [account\_id](#input\_account\_id) | AWS Account ID (default: will pull from current user) | `string` | `""` | no | | [override\_prefixes](#input\_override\_prefixes) | Override built-in prefixes by component. This should be used primarily for common infrastructure things | `map(string)` | `{}` | no | +| [private\_zone](#input\_private\_zone) | Selection either private or public (default: private) for named zones | `bool` | `true` | no | | [region](#input\_region) | AWS Region to select for peer (default: from provider aws.peer) | `string` | `null` | 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 | | [vpc\_id](#input\_vpc\_id) | VPC ID with which to associate Route53 PHZs | `string` | n/a | yes | diff --git a/route53-zone-association/zone/variables.tf b/route53-zone-association/zone/variables.tf index 467b628..be0772a 100644 --- a/route53-zone-association/zone/variables.tf +++ b/route53-zone-association/zone/variables.tf @@ -14,3 +14,14 @@ variable "region" { type = string default = null } +variable "zone_ids" { + description = "List of Route53 PHZ IDs to associate with a (local/remote) VPC" + type = list(string) + default = [] +} + +variable "private_zone" { + description = "Selection either private or public (default: private) for named zones" + type = bool + default = true +}