From d41dc678e6d2150c8fdc239c5cb92042f44521fc Mon Sep 17 00:00:00 2001 From: Julio Castillo Date: Sat, 19 Nov 2022 12:47:07 +0100 Subject: [PATCH] Fix organization module --- modules/organization/README.md | 4 ++-- modules/organization/variables.tf | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/modules/organization/README.md b/modules/organization/README.md index a716e665b..31dc3de0f 100644 --- a/modules/organization/README.md +++ b/modules/organization/README.md @@ -459,8 +459,8 @@ module "org" { | [org_policies_data_path](variables.tf#L220) | Path containing org policies in YAML format. | string | | null | | [org_policy_custom_constraints](variables.tf#L226) | Organization policiy custom constraints keyed by constraint name. | map(object({…})) | | {} | | [org_policy_custom_constraints_data_path](variables.tf#L240) | Path containing org policy custom constraints in YAML format. | string | | null | -| [tag_bindings](variables.tf#L275) | Tag bindings for this organization, in key => tag value id format. | map(string) | | null | -| [tags](variables.tf#L255) | Tags by key name. The `iam` attribute behaves like the similarly named one at module level. | map(object({…})) | | {} | +| [tag_bindings](variables.tf#L255) | Tag bindings for this organization, in key => tag value id format. | map(string) | | null | +| [tags](variables.tf#L261) | Tags by key name. The `iam` attribute behaves like the similarly named one at module level. | map(object({…})) | | {} | ## Outputs diff --git a/modules/organization/variables.tf b/modules/organization/variables.tf index 855c84f60..84c81ff5b 100644 --- a/modules/organization/variables.tf +++ b/modules/organization/variables.tf @@ -252,6 +252,12 @@ variable "organization_id" { } } +variable "tag_bindings" { + description = "Tag bindings for this organization, in key => tag value id format." + type = map(string) + default = null +} + variable "tags" { description = "Tags by key name. The `iam` attribute behaves like the similarly named one at module level." type = map(object({ @@ -271,9 +277,3 @@ variable "tags" { error_message = "Use an empty map instead of null as value." } } - -variable "tag_bindings" { - description = "Tag bindings for this organization, in key => tag value id format." - type = map(string) - default = null -}