Sha256: 29fb111a5af5ef4b3e28b4d495038e5981a79bdba8c2312d04c25e9d3a0d884c

Contents?: true

Size: 290 Bytes

Versions: 16

Compression:

Stored size: 290 Bytes

Contents

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

<% end -%>

Version data entries

16 entries across 16 versions & 2 rubygems

Version Path
terraforming-0.18.0 lib/terraforming/template/tf/iam_role_policy.erb
terraforming-0.17.0 lib/terraforming/template/tf/iam_role_policy.erb
terraforming-0.16.0 lib/terraforming/template/tf/iam_role_policy.erb
terraforming-0.15.0 lib/terraforming/template/tf/iam_role_policy.erb
aws-insight-0.14.1 lib/terraforming/template/tf/iam_role_policy.erb
aws-insight-0.14.0 lib/terraforming/template/tf/iam_role_policy.erb
terraforming-0.14.0 lib/terraforming/template/tf/iam_role_policy.erb
terraforming-0.13.2 lib/terraforming/template/tf/iam_role_policy.erb
terraforming-0.13.1 lib/terraforming/template/tf/iam_role_policy.erb
terraforming-0.13.0 lib/terraforming/template/tf/iam_role_policy.erb
terraforming-0.12.0 lib/terraforming/template/tf/iam_role_policy.erb
terraforming-0.11.0 lib/terraforming/template/tf/iam_role_policy.erb
terraforming-0.10.0 lib/terraforming/template/tf/iam_role_policy.erb
terraforming-0.9.1 lib/terraforming/template/tf/iam_role_policy.erb
terraforming-0.9.0 lib/terraforming/template/tf/iam_role_policy.erb
terraforming-0.8.0 lib/terraforming/template/tf/iam_role_policy.erb