Skip to content

Commit 59441c3

Browse files
committed
DOPS-101 Remove interpolation from backend
Terraform does not allow interpolation of values in backend block. This is because it executes backend way before other stuff.
1 parent c6d33d4 commit 59441c3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

terraform/terraform.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ terraform {
44
# ./bootstrap project. See ./bootstrap/README.md for details.
55
#===================================================================
66
backend "s3" {
7-
bucket = "${var.backend_account_alias}-tf-state-us-east-1"
7+
bucket = "moduscreate-devops-demo-tf-state-us-east-1"
88
key = "terraform-state.tfstate"
9-
dynamodb_table = "${var.backend_account_alias}-state-lock"
10-
region = "${var.aws_region}"
9+
dynamodb_table = "moduscreate-devops-demo-state-lock"
10+
region = "us-east-1"
1111
encrypt = "true"
1212
}
1313
}

0 commit comments

Comments
 (0)