From 354f9e214cf070fb0ca77c8e2d1b940a92038b9e Mon Sep 17 00:00:00 2001 From: Matias Bertani Date: Wed, 8 May 2024 22:44:57 +0200 Subject: [PATCH] add output for sso groups ids To be able to reference them outside the module --- README.md | 1 + VERSION | 2 +- outputs.tf | 5 +++++ 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index dd3b1a5..2a64096 100644 --- a/README.md +++ b/README.md @@ -161,4 +161,5 @@ No modules. |------|-------------| | [account\_assignment\_data](#output\_account\_assignment\_data) | Tuple containing account assignment data | | [principals\_and\_assignments](#output\_principals\_and\_assignments) | Map containing account assignment data | +| [sso\_groups\_ids](#output\_sso\_groups\_ids) | A map of SSO groups ids created by this module | \ No newline at end of file diff --git a/VERSION b/VERSION index 45c7a58..a3dce6c 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -v0.0.1 +v0.0.2 diff --git a/outputs.tf b/outputs.tf index 4ef62ca..234989c 100644 --- a/outputs.tf +++ b/outputs.tf @@ -9,3 +9,8 @@ output "principals_and_assignments" { description = "Map containing account assignment data" } + +output "sso_groups_ids" { + value = { for k, v in aws_identitystore_group.sso_groups : k => v.group_id } + description = "A map of SSO groups ids created by this module" +}