From ca9e44a638f074fa73714542713df6ed3cf2e656 Mon Sep 17 00:00:00 2001 From: badra001 Date: Fri, 8 Sep 2023 15:09:25 -0400 Subject: [PATCH] fix --- group-assignment/README.md | 7 ++++--- group-assignment/variables.tf | 2 +- group-assignment/versions.tf | 10 +++++----- 3 files changed, 10 insertions(+), 9 deletions(-) diff --git a/group-assignment/README.md b/group-assignment/README.md index 0433221..1c39d6b 100644 --- a/group-assignment/README.md +++ b/group-assignment/README.md @@ -4,13 +4,14 @@ |------|---------| | [terraform](#requirement\_terraform) | >= 1.0 | | [aws](#requirement\_aws) | >= 5.0 | +| [ldap](#requirement\_ldap) | >= 0.5.4 | ## Providers | Name | Version | |------|---------| | [aws](#provider\_aws) | >= 5.0 | -| [ldap](#provider\_ldap) | n/a | +| [ldap](#provider\_ldap) | >= 0.5.4 | ## Modules @@ -29,7 +30,7 @@ No modules. | [aws_organizations_organizational_unit_descendant_accounts.accounts](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/organizations_organizational_unit_descendant_accounts) | data source | | [aws_organizations_organizational_unit_descendant_accounts.ou](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/organizations_organizational_unit_descendant_accounts) | data source | | [aws_region.current](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/data-sources/region) | data source | -| [ldap_object.users](https://registry.terraform.io/providers/hashicorp/ldap/latest/docs/data-sources/object) | data source | +| [ldap_object.users](https://registry.terraform.io/providers/trevex/ldap/latest/docs/data-sources/object) | data source | ## Inputs @@ -43,7 +44,7 @@ No modules. | [org\_account\_ids](#input\_org\_account\_ids) | List of AWS Account ID to which to associate with this group | `list(string)` | `[]` | no | | [org\_account\_names](#input\_org\_account\_names) | List of AWS Account aliases to which to associate with this group (note it use the commercial side alias for GovCloud) | `list(string)` | `[]` | no | | [org\_all](#input\_org\_all) | Flag indicating to associate this group to all ACTIVE accounts in the organization | `bool` | `false` | no | -| [organizational\_unit\_hierarchy](#input\_organizational\_unit\_hierarchy) | n/a | `map()` | `{}` | no | +| [organizational\_unit\_hierarchy](#input\_organizational\_unit\_hierarchy) | n/a | `map(any)` | `{}` | no | | [organizational\_unit\_ids](#input\_organizational\_unit\_ids) | List of AWS Organizational Unit names to assocate with this group | `list(string)` | `[]` | no | | [organizational\_unit\_names](#input\_organizational\_unit\_names) | List of AWS Organizational Unit names to assocate with this group | `list(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 | diff --git a/group-assignment/variables.tf b/group-assignment/variables.tf index 6ec041a..d0b6cbc 100644 --- a/group-assignment/variables.tf +++ b/group-assignment/variables.tf @@ -57,7 +57,7 @@ variable "organizational_unit_ids" { variable "organizational_unit_hierarchy" { descripton = "Map from organization setup with OU => object() to obtain OU IDs" - type = map() + type = map(any) default = {} } diff --git a/group-assignment/versions.tf b/group-assignment/versions.tf index 979e7e6..043eb87 100644 --- a/group-assignment/versions.tf +++ b/group-assignment/versions.tf @@ -5,10 +5,10 @@ terraform { source = "hashicorp/aws" version = ">= 5.0" } - } - ldap = { - source = "trevex/ldap" - version = ">= 0.5.4" - # configuration_aliases = [ldap.something] + ldap = { + source = "trevex/ldap" + version = ">= 0.5.4" + # configuration_aliases = [ldap.something] + } } }