Skip to content

Commit 92d2245

Browse files
committed
eli-710 adding workflow permissions for My Vaccines to run their regression tests
1 parent 3cb1f6b commit 92d2245

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

infrastructure/stacks/iams-developer-roles/github_actions_policies.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -986,6 +986,7 @@ data "aws_iam_policy_document" "regression_repo_assume_role" {
986986
values = [
987987
"repo:${var.github_org}/${var.regression_repo}:*",
988988
"repo:${var.github_org}/${var.github_repo}:*",
989+
"repo:${var.github_org}/${var.my_vaccines_repo}:*",
989990
]
990991
}
991992

infrastructure/stacks/iams-developer-roles/variables.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,3 +15,9 @@ variable "regression_repo" {
1515
description = "GitHub repository"
1616
type = string
1717
}
18+
19+
variable "my_vaccines_repo" {
20+
default = "vaccinations-app"
21+
description = "GitHub repository"
22+
type = string
23+
}

0 commit comments

Comments
 (0)