Skip to content

Instantly share code, notes, and snippets.

@jcockhren
Created February 3, 2016 18:08
Show Gist options
  • Save jcockhren/c23394f1b9e8efd075de to your computer and use it in GitHub Desktop.
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
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