Skip to content

Instantly share code, notes, and snippets.

@ScottSturdivant
Created June 9, 2016 17:03
Show Gist options
  • Save ScottSturdivant/93eec1c02bfedddea73d6ba176c64abe to your computer and use it in GitHub Desktop.
Save ScottSturdivant/93eec1c02bfedddea73d6ba176c64abe to your computer and use it in GitHub Desktop.
- name: Create a launch configuration
ec2_lc:
name: "{{ lc_name }}"
image_id: "{{ image_id }}" # Created as part of build_ami.yml
key_name: "{{ ec2_keypair }}"
region: "{{ ec2_region }}"
security_groups: "{{ app_sec_group_id.stdout }}"
instance_type: t2.medium
volumes:
- device_name: '/dev/sda1'
volume_type: 'gp2'
volume_size: 8
delete_on_termination: True
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment