Sha256: bf2aaa66203bfede31a7d8fac1b191e2dee395d4d4fb8d70acac882644a40c00

Contents?: true

Size: 702 Bytes

Versions: 3

Compression:

Stored size: 702 Bytes

Contents

  resource 'ChefServerSecurityGroup', :Type => 'AWS::EC2::SecurityGroup', :Properties => {
      :GroupDescription => 'Open up SSH access plus Chef Server required ports',
      :SecurityGroupIngress => [
          {
              :IpProtocol => 'tcp',
              :FromPort => '22',
              :ToPort => '22',
              :CidrIp => { :Ref => 'SSHLocation' },
          },
          {
              :IpProtocol => 'tcp',
              :FromPort => '443',
              :ToPort => '443',
              :SourceSecurityGroupName => { :Ref => 'ChefClientSecurityGroup' },
          },
          { :IpProtocol => 'tcp', :FromPort => '443', :ToPort => '443', :CidrIp => '0.0.0.0/0' },
      ],
  }

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
aws-cfn-dsl-0.5.0 test/Resources/ChefServerSecurityGroup.rb
aws-cfn-dsl-0.2.0 test/Resources/ChefServerSecurityGroup.rb
aws-cfn-dsl-0.1.0 test/Resources/ChefServerSecurityGroup.rb