Sha256: 12813fa0d3553f1431fa3efdf0fb45e84a1a0ba2585bd3f88a2b7ad85f75bb4b

Contents?: true

Size: 399 Bytes

Versions: 3

Compression:

Stored size: 399 Bytes

Contents

<% keys.each do |key| -%>
resource "aws_kms_key" "<%= module_name_of(key) %>" {
    description             = "<%= key.description %>"
    key_usage               = "<%= key.key_usage %>"
    is_enabled              = <%= key.enabled %>
    enable_key_rotation     = <%= key_rotation_status_of(key).key_rotation_enabled %>

    policy = <<POLICY
<%= key_policy_of(key).strip %>
POLICY
}

<% end -%>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
terraforming-0.18.0 lib/terraforming/template/tf/kms_key.erb
terraforming-0.17.0 lib/terraforming/template/tf/kms_key.erb
terraforming-0.16.0 lib/terraforming/template/tf/kms_key.erb