Sha256: 717cb9601bf7dedc954de8bea734376046d5313b639ad3906799464f388eb6d3

Contents?: true

Size: 530 Bytes

Versions: 19

Compression:

Stored size: 530 Bytes

Contents

<% iam_policy_attachments.each do |policy_attachment| -%>
resource "aws_iam_policy_attachment" "<%= module_name_of(policy_attachment) %>" {
    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

19 entries across 19 versions & 3 rubygems

Version Path
practice_terraforming-0.1.11 lib/practice_terraforming/template/tf/iam_policy_attachment.erb
practice_terraforming-0.1.10 lib/practice_terraforming/template/tf/iam_policy_attachment.erb
practice_terraforming-0.1.9 lib/practice_terraforming/template/tf/iam_policy_attachment.erb
practice_terraforming-0.1.8 lib/practice_terraforming/template/tf/iam_policy_attachment.erb
practice_terraforming-0.1.7 lib/practice_terraforming/template/tf/iam_policy_attachment.erb
practice_terraforming-0.1.6 lib/practice_terraforming/template/tf/iam_policy_attachment.erb
practice_terraforming-0.1.5 lib/practice_terraforming/template/tf/iam_policy_attachment.erb
practice_terraforming-0.1.4 lib/practice_terraforming/template/tf/iam_policy_attachment.erb
practice_terraforming-0.1.3 lib/practice_terraforming/template/tf/iam_policy_attachment.erb
terraforming-0.18.0 lib/terraforming/template/tf/iam_policy_attachment.erb
terraforming-0.17.0 lib/terraforming/template/tf/iam_policy_attachment.erb
terraforming-0.16.0 lib/terraforming/template/tf/iam_policy_attachment.erb
terraforming-0.15.0 lib/terraforming/template/tf/iam_policy_attachment.erb
aws-insight-0.14.1 lib/terraforming/template/tf/iam_policy_attachment.erb
aws-insight-0.14.0 lib/terraforming/template/tf/iam_policy_attachment.erb
terraforming-0.14.0 lib/terraforming/template/tf/iam_policy_attachment.erb
terraforming-0.13.2 lib/terraforming/template/tf/iam_policy_attachment.erb
terraforming-0.13.1 lib/terraforming/template/tf/iam_policy_attachment.erb
terraforming-0.13.0 lib/terraforming/template/tf/iam_policy_attachment.erb