Skip to content
This repository has been archived by the owner on Jul 7, 2022. It is now read-only.

Adding s3 backend for the Terraform #108

Open
pmensik opened this issue Nov 10, 2020 · 0 comments
Open

Adding s3 backend for the Terraform #108

pmensik opened this issue Nov 10, 2020 · 0 comments

Comments

@pmensik
Copy link

pmensik commented Nov 10, 2020

Hello, according to this issue there's a default Terraform backend configured to the gcp. So I tried to change it to the AWS S3 bucket since I am going to deploy to the AWS - after some struggling, I managed to run ./scripts/deploy.sh without an error but it gets stuck on the command line input where it's asking for a key again (although I have it in the config). However, the terraform.tfstate is created inside the bucket so connection to the AWS is working. I am not really skilled with Terraform so I would appreciate any help here :-)
This is the the terraform/remote-state/main.tf

terraform {
  backend "s3" {
    bucket = "polkadotters"
    key    = "terraform/state/terraform.tfstate"
    region = "eu-central-1"
  }
}

This is the output what I see - and I can press enter how many times I want and nothing happens. Thanks a lot for looking at this.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant