Sha256: 612b24600f31846a8c3e68de4cf00f1b6ebed8d477bcdfbcd10129caff58cefa

Contents?: true

Size: 395 Bytes

Versions: 10

Compression:

Stored size: 395 Bytes

Contents

<% iam_policies.each do |policy| -%>
  <%- version = iam_policy_version_of(policy) -%>
resource "aws_iam_policy" "<%= module_name_of(policy) %>" {
    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

10 entries across 10 versions & 2 rubygems

Version Path
terraforming-0.18.0 lib/terraforming/template/tf/iam_policy.erb
terraforming-0.17.0 lib/terraforming/template/tf/iam_policy.erb
terraforming-0.16.0 lib/terraforming/template/tf/iam_policy.erb
terraforming-0.15.0 lib/terraforming/template/tf/iam_policy.erb
aws-insight-0.14.1 lib/terraforming/template/tf/iam_policy.erb
aws-insight-0.14.0 lib/terraforming/template/tf/iam_policy.erb
terraforming-0.14.0 lib/terraforming/template/tf/iam_policy.erb
terraforming-0.13.2 lib/terraforming/template/tf/iam_policy.erb
terraforming-0.13.1 lib/terraforming/template/tf/iam_policy.erb
terraforming-0.13.0 lib/terraforming/template/tf/iam_policy.erb