From d90d6fa1f4b9750fa5658b40d7a144e4cc319fdd Mon Sep 17 00:00:00 2001 From: jamesrwarren Date: Tue, 7 Jan 2025 16:17:35 +0000 Subject: [PATCH] DDLS-434c change state role to limited state write role --- docker-compose.behat.yml | 4 ---- terraform/account/provider.tf | 2 +- terraform/environment/provider.tf | 2 +- 3 files changed, 2 insertions(+), 6 deletions(-) diff --git a/docker-compose.behat.yml b/docker-compose.behat.yml index 943d096603..f8a53c86fb 100644 --- a/docker-compose.behat.yml +++ b/docker-compose.behat.yml @@ -28,10 +28,6 @@ services: env_file: - .env - synchronisation: - restart: "no" - entrypoint: ["echo", "Service sync disabled"] - node-js: image: opg-digideps-resources build: diff --git a/terraform/account/provider.tf b/terraform/account/provider.tf index e8601f43c1..d2c2533115 100644 --- a/terraform/account/provider.tf +++ b/terraform/account/provider.tf @@ -5,7 +5,7 @@ terraform { encrypt = true region = "eu-west-1" assume_role = { - role_arn = "arn:aws:iam::311462405659:role/digideps-ci" + role_arn = "arn:aws:iam::311462405659:role/digideps-state-write" } dynamodb_table = "remote_lock" } diff --git a/terraform/environment/provider.tf b/terraform/environment/provider.tf index 8a44d3c9ca..668e52c4f6 100644 --- a/terraform/environment/provider.tf +++ b/terraform/environment/provider.tf @@ -5,7 +5,7 @@ terraform { encrypt = true region = "eu-west-1" assume_role = { - role_arn = "arn:aws:iam::311462405659:role/digideps-ci" + role_arn = "arn:aws:iam::311462405659:role/digideps-state-write" } dynamodb_table = "remote_lock" }