Skip to content

Commit 3c13a84

Browse files
authored
Add new output account_name_id_map #19
1 parent 62b25cc commit 3c13a84

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/outputs.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -113,3 +113,8 @@ output "organizational_unit_names_organizational_unit_scp_arns" {
113113
value = local.organizational_unit_names_organizational_unit_scp_arns
114114
description = "Map of OU names to SCP ARNs"
115115
}
116+
117+
output "account_name_id_map" {
118+
value = { for k, v in local.account_info_map : k => v.id }
119+
description = "Map of account names to account IDs (including root account)"
120+
}

0 commit comments

Comments
 (0)