Sha256: 257eb1e33ddebfbc34536a65d48ba280bd314ac948f702b730f5ec08c4d74bd8

Contents?: true

Size: 289 Bytes

Versions: 12

Compression:

Stored size: 289 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, unescape: true) %>
POLICY
}

<% end -%>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
terraforming-0.7.0 lib/terraforming/template/tf/iam_role_policy.erb
terraforming-0.6.2 lib/terraforming/template/tf/iam_role_policy.erb
terraforming-0.6.1 lib/terraforming/template/tf/iam_role_policy.erb
terraforming-0.6.0 lib/terraforming/template/tf/iam_role_policy.erb
terraforming-0.5.0 lib/terraforming/template/tf/iam_role_policy.erb
terraforming-0.4.0 lib/terraforming/template/tf/iam_role_policy.erb
terraforming-0.3.2 lib/terraforming/template/tf/iam_role_policy.erb
terraforming-0.3.1 lib/terraforming/template/tf/iam_role_policy.erb
terraforming-0.3.0 lib/terraforming/template/tf/iam_role_policy.erb
terraforming-0.2.0 lib/terraforming/template/tf/iam_role_policy.erb
terraforming-0.1.6 lib/terraforming/template/tf/iam_role_policy.erb
terraforming-0.1.5 lib/terraforming/template/tf/iam_role_policy.erb