Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@ryan-lane
Created May 2, 2014 21:27
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 ryan-lane/cabe233738028d3082dc to your computer and use it in GitHub Desktop.
Save ryan-lane/cabe233738028d3082dc to your computer and use it in GitHub Desktop.
Launch config and autoscaling group state example need for a register action
Ensure my launch config exists:
boto_launch_config.present:
- name: my-launch-config-name
- ami: ami-887i9080
- instance_type: c3.2xlarge
- register: my_launch_config
Ensure my autoscale group exists:
boto_autoscale_group.present:
- name: my-autoscale-group-name
- launch_config: {{ my_launch_config.generated_name }}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment