lib/terraforming/resource/security_group.rb in terraforming-0.16.0 vs lib/terraforming/resource/security_group.rb in terraforming-0.17.0
- old
+ new
@@ -170,10 +170,10 @@
# VPC
elsif security_group.owner_id == range.user_id && range.group_name.nil?
range.group_id
# EC2-Classic, other account
else
- "#{range.user_id}/#{range.group_name}"
+ "#{range.user_id}/#{range.group_name || range.group_id}"
end
end
end
def tags_attributes_of(security_group)