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,180 points
2,722 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,140 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