Sha256: 9c9eb6ba0e984c0d76cc21df1379b860f61518049219896b4ee03fecbf1b5449

Contents?: true

Size: 403 Bytes

Versions: 7

Compression:

Stored size: 403 Bytes

Contents

<% keys.each do |key| -%>
resource "aws_kms_key" "<%= module_name_of(key) %>" {
    description             = "<%= key.description %>"
    key_usage               = "<%= key_usage_of(key) %>"
    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

7 entries across 7 versions & 2 rubygems

Version Path
terraforming-0.15.0 lib/terraforming/template/tf/kms_key.erb
aws-insight-0.14.1 lib/terraforming/template/tf/kms_key.erb
aws-insight-0.14.0 lib/terraforming/template/tf/kms_key.erb
terraforming-0.14.0 lib/terraforming/template/tf/kms_key.erb
terraforming-0.13.2 lib/terraforming/template/tf/kms_key.erb
terraforming-0.13.1 lib/terraforming/template/tf/kms_key.erb
terraforming-0.13.0 lib/terraforming/template/tf/kms_key.erb