AWS CLI Contd
- Refer Here for the changes done to use keyword argumnets
-
Add the steps to validate
- vpc-id starts with
vpc- - subnet-id starts with
subnet- - ami-id starts with
ami-
- vpc-id starts with
- Refer Here and fix the script
Exercise
- Write a script to delete all the ec2 instances in the specified region
- Write a script to do the following by using tags
- restart
- stop
- start
- terminate
