lib/terraforming/template/tf/elastic_filesystem.erb in terraforming-0.12.0 vs lib/terraforming/template/tf/elastic_filesystem.erb in terraforming-0.13.0
- old
+ new
@@ -1,6 +1,6 @@
<% file_systems.each_with_index do |efs, idx| -%>
-resource "aws_efs_file_system" "<%= efs.file_system_id %>" {
+resource "aws_efs_file_system" "<%= module_name_of(efs) %>" {
<% if efs.creation_token -%>
creation_token = "<%= efs.creation_token %>"
<% end -%>
<% if efs.file_system_id -%>
file_system_id = "<%= efs.file_system_id %>"