Commit 5cb89591 authored by Alejandro Garrido Mota's avatar Alejandro Garrido Mota Committed by Anton Babenko

Added description support for custom group policies using a lookup (#33)

parent 2f263e69
...@@ -55,5 +55,6 @@ resource "aws_iam_policy" "custom" { ...@@ -55,5 +55,6 @@ resource "aws_iam_policy" "custom" {
name = var.custom_group_policies[count.index]["name"] name = var.custom_group_policies[count.index]["name"]
policy = var.custom_group_policies[count.index]["policy"] policy = var.custom_group_policies[count.index]["policy"]
description = lookup(var.custom_group_policies[count.index], "description", null)
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment