Sha256: 73cbbf0cb522babd875ae28052926f74e6475c64fe370f3a4905886000e077f2

Contents?: true

Size: 302 Bytes

Versions: 5

Compression:

Stored size: 302 Bytes

Contents

<% iam_policies.each do |policy| -%>
  <%- version = iam_policy_version_of(policy) -%>
resource "aws_iam_policy" "<%= policy.policy_name %>" {
    name   = "<%= policy.policy_name %>"
    path   = "<%= policy.path %>"
    policy = <<POLICY
<%= prettify_policy(version.document) %>
POLICY
}

<% end -%>

Version data entries

5 entries across 5 versions & 1 rubygems

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