Closed Obasoro closed 9 months ago
What is in backend.hcl
? And do you have a backend
block in your Terraform code? If so, what does that contain?
Thanks @brikis98. I created an s3
bucket and ran the terraform init -backend-config=backend.hcl
. It worked fine.
My backend.hcl contains the following
bucket = "kunle-storage-tur"
region = "us-east-1"
dynamodb_table = "kunle-tur"
encrypt = true
Ah, OK, yes, as the error indicates, the S3 bucket must exist :)
Sounds like you got this working, so I'll close this issue.
running the code below I get this error, tried to debug my way but still coming up
terraform init -backend-config=backend.hcl