Sha256: 706e3fd39eac37c64682f2875dcc4dc719b5e15fa96fb3f6205d36662efa412d

Contents?: true

Size: 391 Bytes

Versions: 6

Compression:

Stored size: 391 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 %>"
    description = "<%= iam_policy_description(policy) %>"
    policy      = <<POLICY
<%= prettify_policy(version.document, unescape: true) %>
POLICY
}

<% end -%>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
terraforming-0.12.0 lib/terraforming/template/tf/iam_policy.erb
terraforming-0.11.0 lib/terraforming/template/tf/iam_policy.erb
terraforming-0.10.0 lib/terraforming/template/tf/iam_policy.erb
terraforming-0.9.1 lib/terraforming/template/tf/iam_policy.erb
terraforming-0.9.0 lib/terraforming/template/tf/iam_policy.erb
terraforming-0.8.0 lib/terraforming/template/tf/iam_policy.erb