Error refreshing state AccessDenied Access Denied status code 403

0 votes

Hi Guys,

I am trying to update the changes in my Terraform code. But it is showing me the below error.

Successfully configured the backend "s3"! Terraform will automatically
use this backend unless the backend configuration changes.
Error refreshing state: AccessDenied: Access Denied
    status code: 403
Sep 9, 2020 in Terraform by akhtar
• 38,260 points
13,371 views

1 answer to this question.

0 votes

Hi@akhtar,

I also faced the same issue. Then I manually remove the state file from my local system. You can find the terraform.tfstate file under .terraform/ directory and run init again.

answered Sep 9, 2020 by MD
• 95,460 points

Related Questions In Terraform

0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
0 votes
1 answer
+1 vote
2 answers
0 votes
1 answer

Error: Error putting object in S3 bucket (example11225588): AccessDenied: Access Denied

Hi@akhtar, To upload your file in the s3 ...READ MORE

answered Jun 11, 2020 in Terraform by MD
• 95,460 points
2,952 views
webinar REGISTER FOR FREE WEBINAR X
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP