diff --git a/terraform/account/terraform.tf b/terraform/account/terraform.tf index 2b93ced4b1..f4c865f395 100644 --- a/terraform/account/terraform.tf +++ b/terraform/account/terraform.tf @@ -4,11 +4,11 @@ terraform { key = "opg-modernising-lpa-account/terraform.tfstate" encrypt = true region = "eu-west-1" - role_arn = "arn:aws:iam::311462405659:role/modernising-lpa-ci" + role_arn = "arn:aws:iam::311462405659:role/modernising-lpa-state-access" dynamodb_table = "remote_lock" } } - +# variable "default_role" { type = string default = "modernising-lpa-ci" diff --git a/terraform/environment/terraform.tf b/terraform/environment/terraform.tf index b38fd5f899..5a2907189c 100644 --- a/terraform/environment/terraform.tf +++ b/terraform/environment/terraform.tf @@ -4,7 +4,7 @@ terraform { key = "opg-modernising-lpa-environment/terraform.tfstate" encrypt = true region = "eu-west-1" - role_arn = "arn:aws:iam::311462405659:role/modernising-lpa-ci" + role_arn = "arn:aws:iam::311462405659:role/modernising-lpa-state-access" dynamodb_table = "remote_lock" } }