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?