File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 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 {
Original file line number Diff line number Diff 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 }
You can’t perform that action at this time.
0 commit comments