From 8612941317db8c5f3eb82fd8c5218b8ef5a5d41f Mon Sep 17 00:00:00 2001 From: nozaq Date: Fri, 25 Feb 2022 21:54:28 +0900 Subject: [PATCH] fix: mark `var.member_accounts` required (#272) --- examples/organization/README.md | 2 +- examples/organization/master/variables.tf | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/examples/organization/README.md b/examples/organization/README.md index 832c16f5..a1054752 100644 --- a/examples/organization/README.md +++ b/examples/organization/README.md @@ -7,7 +7,7 @@ When it sets to `master`, this module configure the account to be ready to gathe ## Master Account -In the master account configuration, you need to set `account_type` to `master` and specify member account information in `member accounts`. +In the master account configuration, you need to set `account_type` to `master` and specify member account information in `member_accounts`. The following shows a sample usage. diff --git a/examples/organization/master/variables.tf b/examples/organization/master/variables.tf index ab25712a..91abcd10 100644 --- a/examples/organization/master/variables.tf +++ b/examples/organization/master/variables.tf @@ -3,17 +3,17 @@ variable "audit_s3_bucket_name" { type = string } -variable "region" { - description = "The AWS region in which global resources are set up." - type = string - default = "us-east-1" -} - variable "member_accounts" { description = "A list of AWS account IDs." type = list(object({ account_id = string email = string })) - default = [] } + +variable "region" { + description = "The AWS region in which global resources are set up." + type = string + default = "us-east-1" +} +