Skip to content

Commit 82e94c2

Browse files
authored
Merge branch 'master' into bugfix/VED-000-increase-mesh-fetch-msg-memory
2 parents 7ce785a + 60d729d commit 82e94c2

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

config/prod/permissions_config.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,10 @@
2121
},
2222
{
2323
"supplier": "RAVS",
24-
"permissions": ["RSV.RS"],
24+
"permissions": [
25+
"MMR.CRUDS",
26+
"RSV.RS"
27+
],
2528
"ods_codes": ["X26", "X8E5B"]
2629
},
2730
{

infra/iam.tf

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,13 @@ resource "aws_iam_role" "auto_ops" {
6969
Action = "sts:AssumeRoleWithWebIdentity",
7070
Condition = {
7171
StringEquals = {
72-
"token.actions.githubusercontent.com:aud" : "sts.amazonaws.com"
72+
"token.actions.githubusercontent.com:aud": "sts.amazonaws.com"
7373
},
7474
StringLike = {
75-
"token.actions.githubusercontent.com:sub" : "repo:NHSDigital/immunisation-fhir-api:*"
75+
"token.actions.githubusercontent.com:sub": var.environment != "prod" ? [
76+
"repo:NHSDigital/immunisation-fhir-api:*",
77+
"repo:NHSDigital/imms_fhir_api_automation:*"
78+
] : ["repo:NHSDigital/immunisation-fhir-api:*"]
7679
}
7780
}
7881
}

0 commit comments

Comments
 (0)