lib/terraforming/resource/subnet.rb in terraforming-0.7.0 vs lib/terraforming/resource/subnet.rb in terraforming-0.8.0
- old
+ new
@@ -46,10 +46,10 @@
def subnets
@client.describe_subnets.subnets
end
def module_name_of(subnet)
- normalize_module_name(name_from_tag(subnet, subnet.subnet_id))
+ normalize_module_name("#{subnet.subnet_id}-#{name_from_tag(subnet, subnet.subnet_id)}")
end
end
end
end