Sha256: d3b1dc8cbd413d4ac58045a2f99b338f715df79407497562d47de159d141ed9a
Contents?: true
Size: 670 Bytes
Versions: 26
Compression:
Stored size: 670 Bytes
Contents
module Ufo::Cfn::Stack::Builder::Resources::SecurityGroup class EcsRule < Base def build return unless managed_security_groups? return unless vars[:elb_type] == "application" { Type: "AWS::EC2::SecurityGroupIngress", Condition: "CreateElbIsTrue", Properties: { IpProtocol: "tcp", FromPort: "0", ToPort: "65535", SourceSecurityGroupId: { "Fn::GetAtt": "ElbSecurityGroup.GroupId" }, GroupId: { "Fn::GetAtt": "EcsSecurityGroup.GroupId" }, Description: "application elb access to ecs" } } end end end
Version data entries
26 entries across 26 versions & 1 rubygems