lib/ufo/cfn/stack/builder/resources/security_group/ecs.rb in ufo-6.3.3 vs lib/ufo/cfn/stack/builder/resources/security_group/ecs.rb in ufo-6.3.4

- old
+ new

@@ -1,8 +1,9 @@ module Ufo::Cfn::Stack::Builder::Resources::SecurityGroup class Ecs < Base def build - return unless managed_security_groups? + return unless manage_ecs_security_group? + return unless vars[:container][:network_mode].to_s == 'awsvpc' { Type: "AWS::EC2::SecurityGroup", Properties: properties }