From 6db752750fba093304b9b3beefe51bbd9cefa4f4 Mon Sep 17 00:00:00 2001 From: badra001 Date: Fri, 24 Feb 2023 12:28:19 -0500 Subject: [PATCH] require org_master* --- share-resources/README.md | 4 ++-- share-resources/variables.tf | 2 -- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/share-resources/README.md b/share-resources/README.md index db10357..0ed08e0 100644 --- a/share-resources/README.md +++ b/share-resources/README.md @@ -50,8 +50,8 @@ 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 | | [create](#input\_create) | Flag to indicate whether to create the resources or not (default: true) | `bool` | `true` | no | -| [org\_master\_profile](#input\_org\_master\_profile) | AWS Organization Master account profile | `string` | `null` | no | -| [org\_master\_region](#input\_org\_master\_region) | AWS Organization Master region (see docs: https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html) | `string` | `null` | no | +| [org\_master\_profile](#input\_org\_master\_profile) | AWS Organization Master account profile | `string` | n/a | yes | +| [org\_master\_region](#input\_org\_master\_region) | AWS Organization Master region (see docs: https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html) | `string` | n/a | yes | | [override\_prefixes](#input\_override\_prefixes) | Override built-in prefixes by component. This should be used primarily for common infrastructure things | `map(string)` | `{}` | no | | [private\_subnets\_ids](#input\_private\_subnets\_ids) | List of private subnet objects including: subnet, label, availability\_zone, id, arn, tags |
list(object({
subnet = string
label = string
availability_zone = string
id = string
arn = optional(string, null)
tags = optional(map(string), {})
}))
| `[]` | no | | [share\_account\_list](#input\_share\_account\_list) | List of AWS Account IDs to share VPC/subnets into. If the account is not part of the organziation, this will produce an error. | `list(string)` | `[]` | no | diff --git a/share-resources/variables.tf b/share-resources/variables.tf index 4ee7a96..82ad9e5 100644 --- a/share-resources/variables.tf +++ b/share-resources/variables.tf @@ -1,14 +1,12 @@ variable "org_master_profile" { description = "AWS Organization Master account profile" type = string - default = null # default = "252903981224-ma5-gov" } variable "org_master_region" { description = "AWS Organization Master region (see docs: https://docs.aws.amazon.com/govcloud-us/latest/UserGuide/govcloud-organizations.html)" type = string - default = null # default = "us-gov-west-1" }