I'm trying to run an AWS CLI command for a resource with a ! in its name.
I'm doing this from Centos docker instance running on my local device a MAC and if I run
it says it is using bash
Using echo 'test!' works for returning the value but testing in my CLI command it does not work
aws autoscaling put-scheduled-update-group-action --auto-scaling-group-name temp_asg --scheduled-action-name 'test!' --start-time 2020-12-06T12:00:00Z --min-size 0 --max-size 1 --desired-capacity 0 --region eu-west-1 --output json
returns bash: !`: event not found
my AWS CLI version in the docker instance I'm running it from is aws-cli/1.16.251