2014-07-20 16:59:38 +02:00
|
|
|
# This file managed by Salt, do not edit by hand!!
|
2015-04-17 16:48:47 +02:00
|
|
|
{% set cloud = salt['pillar.get']('salt:cloud', {}) -%}
|
|
|
|
{% if 'aws_key' in cloud %}
|
2014-07-20 16:59:38 +02:00
|
|
|
base_ubuntu_ec2:
|
|
|
|
provider: ec2_ubuntu_public
|
|
|
|
image: ami-cb4986bc
|
|
|
|
size: t2.micro
|
|
|
|
ssh_username: ubuntu
|
|
|
|
network_interfaces:
|
|
|
|
- DeviceIndex: 0
|
|
|
|
PrivateIpAddresses:
|
|
|
|
- Primary: True
|
|
|
|
AssociatePublicIpAddress: True
|
|
|
|
SubnetId: subnet-57856332
|
|
|
|
SecurityGroupId:
|
|
|
|
- sg-6ec11d3b
|
|
|
|
tag: {'Environment': 'production', 'Role': 'ubuntu'}
|
2015-04-17 16:48:47 +02:00
|
|
|
sync_after_install: grains
|
|
|
|
{% endif %}
|