Skip to content

Commit

Permalink
Wrap role_arn in assume_role
Browse files Browse the repository at this point in the history
  • Loading branch information
rcantin-w committed Dec 10, 2024
1 parent e6937e1 commit 08e9db6
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions infrastructure/experience/terraform.tf
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
terraform {
backend "s3" {
role_arn = "arn:aws:iam::130871440101:role/experience-developer"
assume_role = {
role_arn = "arn:aws:iam::130871440101:role/experience-developer"
}

bucket = "wellcomecollection-experience-infra"
key = "terraform/experience.tfstate"
Expand All @@ -13,7 +15,10 @@ data "terraform_remote_state" "accounts_experience" {
backend = "s3"

config = {
role_arn = "arn:aws:iam::760097843905:role/platform-read_only"
assume_role = {
role_arn = "arn:aws:iam::760097843905:role/platform-read_only"
}

bucket = "wellcomecollection-platform-infra"
key = "terraform/aws-account-infrastructure/experience.tfstate"
region = "eu-west-1"
Expand Down

0 comments on commit 08e9db6

Please sign in to comment.