File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
modules/webhook/eventbridge Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -26,6 +26,11 @@ module "runners" {
2626 Project = " ProjectX"
2727 }
2828
29+ eventbridge = {
30+ enable = true
31+ }
32+ enable_workflow_job_events_queue = true
33+
2934 github_app = {
3035 key_base64 = var.github_app.key_base64
3136 id = var.github_app.id
Original file line number Diff line number Diff line change @@ -144,10 +144,10 @@ resource "aws_iam_role_policy" "dispatcher_xray" {
144144 role = aws_iam_role. dispatcher_lambda . name
145145}
146146
147- resource "aws_iam_role_policy" "webhook_workflow_job_sqs " {
147+ resource "aws_iam_role_policy" "dispatcher_workflow_job_sqs " {
148148 count = var. config . sqs_workflow_job_queue != null ? 1 : 0
149149 name = " publish-workflow-job-sqs-policy"
150- role = aws_iam_role. webhook_lambda . name
150+ role = aws_iam_role. dispatcher_lambda . name
151151
152152 policy = templatefile (" ${ path . module } /../policies/lambda-publish-sqs-policy.json" , {
153153 sqs_resource_arns = jsonencode ([var . config . sqs_workflow_job_queue . arn ])
You can’t perform that action at this time.
0 commit comments