Created
February 25, 2016 01:59
-
-
Save dgrstl/7813179eb4da3f2cb3bc to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dave-mbp:~ dave$ puppet resource ec2_securitygroup tse-crossconnect | |
ec2_securitygroup { 'tse-crossconnect': | |
ensure => 'present', | |
description => 'Security Group that allows masters to talk to agents and vice versa - prevents race condition', | |
ingress => [{'from_port' => '1', 'protocol' => 'udp', 'security_group' => 'tse-master', 'to_port' => '65535'}, {'from_port' => '1', 'protocol' => 'udp', 'security_group' => 'tse-agents', 'to_port' => '65535'}, {'from_port' => '1', 'protocol' => 'tcp', 'security_group' => 'tse-master', 'to_port' => '65535'}, {'from_port' => '1', 'protocol' => 'tcp', 'security_group' => 'tse-agents', 'to_port' => '65535'}, {'from_port' => '-1', 'protocol' => 'icmp', 'security_group' => 'tse-master', 'to_port' => '-1'}, {'from_port' => '-1', 'protocol' => 'icmp', 'security_group' => 'tse-agents', 'to_port' => '-1'}], | |
region => 'us-west-2', | |
tags => {'created_by' => 'cbarker', 'department' => 'TSE', 'project' => 'Infrastructure'}, | |
vpc => 'tse-vpc', | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment