Getting errors when using cloud shell in AWS EC2 course Labwork

One of the lab in aws EC2 course wants me to go to terminal and run terraform code. Now I assume terminal is a cloud shell

when I went to cloud shell its pops with message :
arn…/kk_labs_user_217527 is not authorized to perform :slight_smile: cloud shell:CreateEnvironment on resource.

Please help me in this

LIkely it’s not CloudShell. For our courses, we have lab terminals attached (sometimes you need to open these up after you log into AWS, where the lab environment is set up with the credentials for the AWS session you initially set up. You run terraform there, and it will “just work”. So you don’t use CloudShell for these cases.

I can confirm this for you for your particular lab if you supply a lab link, but that’s in general how it works.