Saltstack Official Salt Formula
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

_ec2.conf 548B

12345678910111213141516171819
  1. # This file managed by Salt, do not edit by hand!!
  2. {% set cloud = salt['pillar.get']('salt:cloud', {}) -%}
  3. {% if 'aws_key' in cloud %}
  4. base_ubuntu_ec2:
  5. provider: ec2_ubuntu_public
  6. image: ami-cb4986bc
  7. size: t2.micro
  8. ssh_username: ubuntu
  9. network_interfaces:
  10. - DeviceIndex: 0
  11. PrivateIpAddresses:
  12. - Primary: True
  13. AssociatePublicIpAddress: True
  14. SubnetId: subnet-57856332
  15. SecurityGroupId:
  16. - sg-6ec11d3b
  17. tag: {'Environment': 'production', 'Role': 'ubuntu'}
  18. sync_after_install: grains
  19. {% endif %}