Skip to content

Commit 38e9523

Browse files
authored
Merge pull request #551 from NHSDigital/ELI-597
(ELI-597) final extra permission
2 parents b0e69fc + ad46717 commit 38e9523

2 files changed

Lines changed: 5 additions & 4 deletions

File tree

infrastructure/stacks/api-layer/step_functions.tf

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -106,10 +106,10 @@ INSTRUCTIONS:
106106
2. Ensure the new hashes are working as expected.
107107
3. Run the command below to approve and resume the workflow:
108108
109-
aws stepfunctions send-task-success --task-token {} --task-output \\{\\}
109+
aws stepfunctions send-task-success --task-token {} --task-output {}
110110
111111
======================================================
112-
', $$.Task.Token)
112+
', $$.Task.Token, '{}')
113113
EOT
114114

115115
delete_jobs_message = <<EOT
@@ -128,10 +128,10 @@ INSTRUCTIONS:
128128
2. Ensure the old hashes have been removed successfully.
129129
3. Run the command below to approve and resume the workflow:
130130
131-
aws stepfunctions send-task-success --task-token {} --task-output \\{\\}
131+
aws stepfunctions send-task-success --task-token {} --task-output {}
132132
133133
======================================================
134-
', $$.Task.Token)
134+
', $$.Task.Token, '{}')
135135
EOT
136136

137137
failure_message = <<EOT

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -458,6 +458,7 @@ resource "aws_iam_policy" "api_infrastructure" {
458458
"arn:aws:wafv2:${var.default_aws_region}:${data.aws_caller_identity.current.account_id}:regional/webacl/*",
459459
"arn:aws:wafv2:${var.default_aws_region}:${data.aws_caller_identity.current.account_id}:regional/managedruleset/*",
460460
"arn:aws:states:${var.default_aws_region}:${data.aws_caller_identity.current.account_id}:stateMachine:*",
461+
"arn:aws:events:${var.default_aws_region}:${data.aws_caller_identity.current.account_id}:rule/*"
461462
]
462463
},
463464
]

0 commit comments

Comments
 (0)