Sha256: af5a1db927442817e1db6cd35074c6ac0e9d6ae5230255da529ea14c446ebdb0

Contents?: true

Size: 360 Bytes

Versions: 6

Compression:

Stored size: 360 Bytes

Contents

<% iam_roles.each do |role| -%>
resource "aws_iam_role" "<%= module_name_of(role) %>" {
    name               = "<%= role.role_name %>"
    description        = "<%= role.description %>"
    path               = "<%= role.path %>"
    assume_role_policy = <<POLICY
<%= prettify_policy(role.assume_role_policy_document, unescape: true) %>
POLICY
}

<% end -%>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
practice_terraforming-0.1.8 lib/practice_terraforming/template/tf/iam_role.erb
practice_terraforming-0.1.7 lib/practice_terraforming/template/tf/iam_role.erb
practice_terraforming-0.1.6 lib/practice_terraforming/template/tf/iam_role.erb
practice_terraforming-0.1.5 lib/practice_terraforming/template/tf/iam_role.erb
practice_terraforming-0.1.4 lib/practice_terraforming/template/tf/iam_role.erb
practice_terraforming-0.1.3 lib/practice_terraforming/template/tf/iam_role.erb