Skip to content

Commit

Permalink
add custom_policies_arn
Browse files Browse the repository at this point in the history
  • Loading branch information
badra001 committed Mar 24, 2021
1 parent 9f46ae4 commit 95584bf
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions iam-general-policies/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -128,5 +128,6 @@ No Modules.
| Name | Description |
|------|-------------|
| custom\_policies | Custom Policies |
| custom\_policies\_arn | Custom Policies ARN |
| custom\_policy\_documents | Custom Policy Documents (no IAM policy) |
| managed\_policies | AWS Managed Policy name to ARN mapping |
5 changes: 5 additions & 0 deletions iam-general-policies/outputs.tf
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,11 @@ output "custom_policies" {
value = local.out_policies
}

output "custom_policies_arn" {
description = "Custom Policies ARN"
value = { for k, v in local.out_policies : k => v["policy_arn"] }
}

# name = {
# name
# description
Expand Down

0 comments on commit 95584bf

Please sign in to comment.