From 735368c3121f2c0198af51f641de90c304cee387 Mon Sep 17 00:00:00 2001 From: Jun-te Kim Date: Mon, 20 Apr 2026 17:00:27 +0000 Subject: [PATCH] forgot to add stage --- infrastructure/terraform/lambda/fast-api/main.tf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/infrastructure/terraform/lambda/fast-api/main.tf b/infrastructure/terraform/lambda/fast-api/main.tf index f1a9494b..8dcbb8a3 100644 --- a/infrastructure/terraform/lambda/fast-api/main.tf +++ b/infrastructure/terraform/lambda/fast-api/main.tf @@ -31,8 +31,8 @@ data "terraform_remote_state" "categorisation" { data "terraform_remote_state" "postcode_splitter" { backend = "s3" config = { - bucket = "postcode-splitter-terraform-state" - key = "terraform.tfstate" + bucket = "postcode-splitter-terraform-state", + key = "env:/${var.stage}/terraform.tfstate" region = "eu-west-2" } }