Advertisement
wwwdrich

AWS EC2 stop instances

Sep 22nd, 2022
874
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.19 KB | None | 0 0
  1. - name: Stop gold masters
  2.   community.aws.ec2_instance:
  3.     state: stopped
  4.     wait: true
  5.     instance_ids: "{{ gold_master_instances }}"
  6.     region: us-east-1
  7.     profile: "{{ aws_profile }}"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement