Skip to content

Commit

Permalink
MLPAB-2276 - don't use ci role for state access (#1342)
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewpearce-digital authored Jul 10, 2024
1 parent 548415a commit 11f2f2d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions terraform/account/terraform.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion terraform/environment/terraform.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
Expand Down

0 comments on commit 11f2f2d

Please sign in to comment.