Skip to content

Commit 01f7df1

Browse files
authored
CCM-11389: Dynamic workflow overrides (#90)
1 parent adfb2d2 commit 01f7df1

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/pr_create_dynamic_env.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,16 +29,20 @@ jobs:
2929
--arg targetComponent "api" \
3030
--arg terraformAction "apply" \
3131
--arg overrides "branch_name=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" \
32+
--arg overrideProjectName "nhs" \
33+
--arg overrideRoleName "nhs-main-acct-supplier-api-github-deploy" \
3234
'{ "ref": "main",
3335
"inputs": {
34-
"infraRepoName": $infraRepoName,
36+
"infraRepoName", $infraRepoName,
3537
"releaseVersion", $releaseVersion,
3638
"targetProject", $targetProject,
3739
"targetEnvironment", $targetEnvironment,
3840
"targetAccountGroup", $targetAccountGroup,
3941
"targetComponent", $targetComponent,
4042
"terraformAction", $terraformAction,
4143
"overrides", $overrides,
44+
"overrideProjectName", $overrideProjectName,
45+
"overrideRoleName", $overrideRoleName,
4246
}
4347
}')
4448

0 commit comments

Comments
 (0)