2014-07-20 16:59:38 +02:00
|
|
|
# This file managed by Salt, do not edit by hand!!
|
2016-03-29 19:28:47 +02:00
|
|
|
{%- from "salt/map.jinja" import salt_settings with context -%}
|
|
|
|
{%- set cloud = salt['pillar.get']('salt:cloud', {}) -%}
|
|
|
|
{%- if 'aws_key' in cloud %}
|
2014-07-20 16:59:38 +02:00
|
|
|
ec2_ubuntu_public:
|
|
|
|
minion:
|
2015-04-04 00:47:08 +02:00
|
|
|
master: {{ cloud.get('master', 'salt') }}
|
2014-07-20 16:59:38 +02:00
|
|
|
grains:
|
|
|
|
test: True
|
|
|
|
ssh_interface: public_ips
|
2015-04-04 00:47:08 +02:00
|
|
|
id: {{ cloud.get('aws_key', 'DEFAULT') }}
|
|
|
|
key: '{{ cloud.get('aws_secret', 'DEFAULT') }}'
|
2016-03-29 19:28:47 +02:00
|
|
|
private_key: {{ salt_settings.config_path }}/pki/cloud/ec2.pem
|
2014-07-20 16:59:38 +02:00
|
|
|
keyname: keyname
|
|
|
|
location: eu-west-1
|
|
|
|
availability_zone: eu-west-1a
|
|
|
|
ssh_username: ubuntu
|
2014-12-24 16:12:40 +01:00
|
|
|
provider: ec2
|
2016-03-29 19:28:47 +02:00
|
|
|
{%- endif %}
|