Sha256: 4c575fcce2fa8008c6b303f153ad06e5777040666d6f4d6e8db0db96c4c56111

Contents?: true

Size: 309 Bytes

Versions: 10

Compression:

Stored size: 309 Bytes

Contents

<% iam_roles.each do |role| -%>
resource "aws_iam_role" "<%= module_name_of(role) %>" {
    name               = "<%= role.role_name %>"
    path               = "<%= role.path %>"
    assume_role_policy = <<POLICY
<%= prettify_policy(role.assume_role_policy_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_role.erb
terraforming-0.17.0 lib/terraforming/template/tf/iam_role.erb
terraforming-0.16.0 lib/terraforming/template/tf/iam_role.erb
terraforming-0.15.0 lib/terraforming/template/tf/iam_role.erb
aws-insight-0.14.1 lib/terraforming/template/tf/iam_role.erb
aws-insight-0.14.0 lib/terraforming/template/tf/iam_role.erb
terraforming-0.14.0 lib/terraforming/template/tf/iam_role.erb
terraforming-0.13.2 lib/terraforming/template/tf/iam_role.erb
terraforming-0.13.1 lib/terraforming/template/tf/iam_role.erb
terraforming-0.13.0 lib/terraforming/template/tf/iam_role.erb