Skip to content

Instantly share code, notes, and snippets.

@avik-so
Last active November 14, 2016 17:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save avik-so/e5df61065649c68a44850a93104494eb to your computer and use it in GitHub Desktop.
Save avik-so/e5df61065649c68a44850a93104494eb to your computer and use it in GitHub Desktop.
Ccone:
provider: aws_us-east-1
ssh_interface: private_ips
image: ami-4b8bd85c
size: t2.micro
availability_zone: us-east-1c
block_device_mappings:
- DeviceName: /dev/sda1
Ebs.VolumeSize: 30
tag: {'Role': 'CC one'}
minion:
master: sec.ret.ip
grains:
roles:
- ccone
env: prod
network_interfaces:
- DeviceIndex: 0
PrivateIpAddresses:
- Primary: True
AssociatePublicIpAddress: False
SubnetId: subnet-0529f728
SecurityGroupId:
- sg-c5b501b8
- sg-f52a8288
provider:
aws_us-east-1:
id: 'use-instance-role-credentials'
key: 'use-instance-roll-credentials'
keyname: aws-ec2-1
private_key: /etc/salt/aws-ec2-1.pem
location: us-east-1
ssh_username: ubuntu
ssh_interface: private_ips
del_root_vol_on_destroy: True
del_all_vols_on_destroy: True
rename_on_destroy: True
driver: ec2
iam_profile: arn:aws:iam::secret:instance-profile/SaltMaster
@rterbush
Copy link

rterbush commented Nov 14, 2016

Provider info (example):

aws-uswest2:
  minion:
    master: salt.production
    keysize: 2048
    log_level_logfile: error
    log_level: error
  private_key: /srv/etc/.ssh/provisioning-key.pem
  keyname: provisioning-key
  ssh_interface: private_ips
  id: 'use-instance-role-credentials'
  key: 'use-instance-role-credentials'
  location: us-west-2
  iam_profile: ServerRoleProfile
  driver: ec2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment