Closed davidATsains closed 4 years ago
i . fixed it
For those that hit this later, you need to create the S3 bucket and DynamoDB table first, and only after they have been created, should you add the terraform { backend "s3" { ... } }
portion of the code.
Hello, i am currently using this book to learn Terraform. I am currently Chapter 3, sub section: shared storage for state files. I have entered the terrafrorm codes to create s3 bucket, dynamodb and to initialise remote backend but i keep getting errors. please help me this is my code