lib/terraforming/template/tf/kms_key.erb in terraforming-0.15.0 vs lib/terraforming/template/tf/kms_key.erb in terraforming-0.16.0
- old
+ new
@@ -1,8 +1,8 @@
<% keys.each do |key| -%>
resource "aws_kms_key" "<%= module_name_of(key) %>" {
description = "<%= key.description %>"
- key_usage = "<%= key_usage_of(key) %>"
+ 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 %>