From f7a0b4456b6f32cb694b8ce4c538557fbff076d9 Mon Sep 17 00:00:00 2001 From: VIVESH <35293085+574n13y@users.noreply.github.com> Date: Sun, 31 Dec 2023 18:43:15 +0530 Subject: [PATCH] Update backend.tf --- backend.tf | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/backend.tf b/backend.tf index c42a9f8..7afc3f6 100644 --- a/backend.tf +++ b/backend.tf @@ -1,8 +1,10 @@ terraform { backend "s3" { bucket = "ss-cicd-bucket" - key = "my-terraform-environment/main" + key = "my-terraform-environment" region = "ap-northeast-1" dynamodb_table = "ss-dynamo-db-table" + assume_role = { + role_arn = "arn:aws:iam::PRODUCTION-ACCOUNT-ID:role/Terraform" } }