After correcting all sorts of errors, my setup_p2.sh runs fine now. But does not get executed completely. Below is the output.
$ bash setup_p2.sh
Only us-west-2 (Oregon), eu-west-1 (Ireland), and us-east-1 (Virginia) are currently supported
I tried getting the region in aws configure and it looks fine.
$ aws configure get region
us-west-2
But still my setup_p2.sh does not do the intended job. I have just started at fast.ai. Any help please?