Sha256: 2656825736b9d46d01c63c7d375b99a4e9b6e546922e2521d4f008d40a2b4d2f

Contents?: true

Size: 521 Bytes

Versions: 5

Compression:

Stored size: 521 Bytes

Contents

<% iam_policy_attachments.each do |policy_attachment| -%>
resource "aws_iam_policy_attachment" "<%= policy_attachment[:name] %>" {
    name       = "<%= policy_attachment[:name] %>"
    policy_arn = "<%= policy_attachment[:arn] %>"
    groups     = <%= policy_attachment[:entities].policy_groups.map(&:group_name).inspect %>
    users      = <%= policy_attachment[:entities].policy_users.map(&:user_name).inspect %>
    roles      = <%= policy_attachment[:entities].policy_roles.map(&:role_name).inspect %>
}

<% end -%>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
terraforming-0.12.0 lib/terraforming/template/tf/iam_policy_attachment.erb
terraforming-0.11.0 lib/terraforming/template/tf/iam_policy_attachment.erb
terraforming-0.10.0 lib/terraforming/template/tf/iam_policy_attachment.erb
terraforming-0.9.1 lib/terraforming/template/tf/iam_policy_attachment.erb
terraforming-0.9.0 lib/terraforming/template/tf/iam_policy_attachment.erb