Skip to content

Commit 5c6ca24

Browse files
authored
Merge pull request #77 from ministryofjustice/UML-2592
UML-2592 - Specify api ecs task role and operator as allowed roles
2 parents 0c9b504 + d773d7f commit 5c6ca24

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

terraform/environment/terraform.tfvars.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@
2525
"account_mapping": "preproduction",
2626
"allowed_roles": [
2727
"\"arn:aws:iam::987830934591:role/preproduction-api-task-role\"",
28-
"\"arn:aws:iam::888228022356:root\""
28+
"\"arn:aws:iam::888228022356:role/preproduction-api-task-role\"",
29+
"\"arn:aws:iam::888228022356:role/operator\""
2930
],
3031
"is_production": "false",
3132
"opg_hosted_zone": "pre.lpa.api.opg.service.justice.gov.uk",
@@ -41,7 +42,8 @@
4142
"account_mapping": "production",
4243
"allowed_roles": [
4344
"\"arn:aws:iam::980242665824:role/production-api-task-role\"",
44-
"\"arn:aws:iam::690083044361:root\""
45+
"\"arn:aws:iam::690083044361:role/production-api-task-role\"",
46+
"\"arn:aws:iam::690083044361:role/operator\""
4547
],
4648
"is_production": "true",
4749
"opg_hosted_zone": "lpa.api.opg.service.justice.gov.uk",

0 commit comments

Comments
 (0)