Created
March 18, 2015 12:22
-
-
Save garethr/643914d4eaf9723103c2 to your computer and use it in GitHub Desktop.
Managing default security groups in VPC with Puppet
This file contains 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
ec2_securitygroup { 'default security group for some vpc': # <= this is a unique title | |
ensure => present, | |
name => 'default', # <= this is the actual security group name in AWS | |
region => 'sa-east-1', | |
vpc => 'sample-vpc', | |
description => 'default VPC security group', | |
ingress => [{ | |
protocol => 'tcp', | |
port => 22, | |
cidr => '0.0.0.0/0' | |
}], | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment