Skip to content

Instantly share code, notes, and snippets.

@markuman
Created March 21, 2019 13:10
Show Gist options
  • Save markuman/160276cc61364b71712c07bf9c977850 to your computer and use it in GitHub Desktop.
Save markuman/160276cc61364b71712c07bf9c977850 to your computer and use it in GitHub Desktop.
vars:
instance_id: i-1234564542134
cpu_credit_specification: unlimited
security_group:
- default
- someother
tasks:
- name: try to modify the ec2 instance
ec2_instance:
instance_ids: "{{ instance_id }}"
cpu_credit_specification: "{{ cpu_credit_specification }}"
security_groups: "{{ security_group }}"
purge_tags: no
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment