Created
February 25, 2016 02:00
-
-
Save dgrstl/fb9ce79c6f1d32fc43c6 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-master | |
ec2_securitygroup { 'tse-master': | |
ensure => 'present', | |
description => 'Security group for use by the Master, and associated ports', | |
ingress => [{'cidr' => '0.0.0.0/0', 'from_port' => '80', 'protocol' => 'tcp', 'to_port' => '80'}, {'cidr' => '10.90.0.0/16', 'from_port' => '0', 'protocol' => 'icmp', 'to_port' => '-1'}, {'cidr' => '0.0.0.0/0', 'from_port' => '22', 'protocol' => 'tcp', 'to_port' => '22'}, {'cidr' => '0.0.0.0/0', 'from_port' => '3000', 'protocol' => 'tcp', 'to_port' => '3000'}, {'cidr' => '0.0.0.0/0', 'from_port' => '443', 'protocol' => 'tcp', 'to_port' => '443'}], | |
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