Sha256: d92424f2174ace95ce4ec9bcf152b823dd8af84b972a26c71be6f68fdf361c05

Contents?: true

Size: 273 Bytes

Versions: 5

Compression:

Stored size: 273 Bytes

Contents

<% iam_role_policies.each do |policy| -%>
resource "aws_iam_role_policy" "<%= policy.policy_name %>" {
    name   = "<%= policy.policy_name %>"
    role   = "<%= policy.role_name %>"
    policy = <<POLICY
<%= prettify_policy(policy.policy_document) %>
POLICY
}

<% end -%>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
terraforming-0.1.4 lib/terraforming/template/tf/iam_role_policy.erb
terraforming-0.1.3 lib/terraforming/template/tf/iam_role_policy.erb
terraforming-0.1.2 lib/terraforming/template/tf/iam_role_policy.erb
terraforming-0.1.1 lib/terraforming/template/tf/iam_role_policy.erb
terraforming-0.1.0 lib/terraforming/template/tf/iam_role_policy.erb