Created
February 3, 2016 18:08
-
-
Save jcockhren/c23394f1b9e8efd075de to your computer and use it in GitHub Desktop.
Example of how to define multiple security groups for an EC2 instance in salt-cloud
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
micro_aws: | |
provider: aws | |
image: ami-88888888 | |
script: bootstrap-salt | |
script_args: git v2015.5.5 | |
size: t2.micro | |
securitygroupid: | |
- sg-12345678 | |
- sg-23456789 | |
minion: | |
master: your.master.com | |
deb_micro_aws_east1a: | |
subnetid: subnet-77777777 | |
image: ami-a1a1a1a1 | |
location: us-east-1 | |
extends: micro_aws |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment