Unable to execure Question 2 under Lab: IAM with terraform

Hellio there,
I am working on lab: IAM terraform. my terraaform code is unable to download aws provider and giving 403 error code. I guess, I guess it is authentication issue.
I am taking access_key and secret_key from /root/.aws/credential.
whicj is ‘foo’ and bar respectivly.
If I am doing wrong, please assit me for the sameme.

I expect that you need to work your way through the lab. The lab will explain how to set up the provider to work with our AWS simulator (“localstack”) so that terraform will run the IAM related steps correctly. This takes until around Q9 in the lab.

Thanks for your response.
Could you please tellme what do you mean by "localstack?
Do you mean, I have to put access_key and secret_key from my free tier account?

No, you do not. localstack is a popular simulator of AWS’s cloud that you can install on a single system, or in a lab, as we do. It works very well with terraform, so we use it a lot in terraform labs. This particular lab walks you through setting up a provider with a local “endpoint”, which allows you to use localstack instead of AWS credentials to do the lab.