You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 16, 2025. It is now read-only.
🤖 I have created a release *beep* *boop*
---
##
[5.19.0](v5.18.4...v5.19.0)
(2024-11-12)
### Features
* remove deprecated bata feature workflow job queue
([#4249](https://github.com/philips-labs/terraform-aws-github-runner/issues/4249))
([4066c4e](4066c4e))
### Bug Fixes
* dispatch only queued events to runners
([#4257](https://github.com/philips-labs/terraform-aws-github-runner/issues/4257))
([a0a8322](a0a8322))
* **lambda:** bump @octokit/auth-app from 6.1.2 to 6.1.3 in /lambdas in
the octokit group
([#4252](https://github.com/philips-labs/terraform-aws-github-runner/issues/4252))
([25f3538](25f3538))
* **lambda:** bump the aws group in /lambdas with 7 updates
([#4251](https://github.com/philips-labs/terraform-aws-github-runner/issues/4251))
([6a98712](6a98712))
### Migration notes
This release removes experimental / beta feature
`enable_workflow_job_events_queue`. When depending on the events on this
queue you can migrate to using the EventBridgge.
#### Enable eventbridge
```hcl
module "runners" {
...
eventbridge {
enable = true
}
...
```
#### Add rule to forward events to a queue
```hcl
resource "aws_cloudwatch_event_rule" "workflow_job_in_progress" {
name = "workflow-job-in-progress"
event_bus_name = modules.runners.webhook.eventbridge.name # The name of the event bus output by the module
event_pattern = <<EOF
{
"detail-type": ["workflow_job"],
"detail": {
"action": ["in_progress"]
}
}
EOF
}
resource "aws_sqs_queue" "workflow_job_in_progress" {
name = "workflow_job_in_progress
}
resource "aws_sqs_queue_policy" "workflow_job_in_progress" {
queue_url = aws_sqs_queue.workflow_job_in_progress.id
policy = data.aws_iam_policy_document.sqs_policy.json
}
data "aws_iam_policy_document" "sqs_policy" {
statement {
sid = "AllowFromEventBridge"
actions = ["sqs:SendMessage"]
principals {
type = "Service"
identifiers = ["events.amazonaws.com"]
}
resources = [aws_sqs_queue.workflow_job_in_progress.arn]
condition {
test = "ArnEquals"
variable = "aws:SourceArn"
values = [aws_cloudwatch_event_rule.workflow_job_in_progress.arn]
}
}
}
```
---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).
Co-authored-by: forest-releaser[bot] <80285352+forest-releaser[bot]@users.noreply.github.com>
* remove deprecated bata feature workflow job queue ([#4249](https://github.com/philips-labs/terraform-aws-github-runner/issues/4249)) ([4066c4e](https://github.com/philips-labs/terraform-aws-github-runner/commit/4066c4eefdf778702cf3490336c92a9755581eaf))
9
+
10
+
11
+
### Bug Fixes
12
+
13
+
* dispatch only queued events to runners ([#4257](https://github.com/philips-labs/terraform-aws-github-runner/issues/4257)) ([a0a8322](https://github.com/philips-labs/terraform-aws-github-runner/commit/a0a8322b539edab279a8570507f6f83ec11a290a))
14
+
***lambda:** bump @octokit/auth-app from 6.1.2 to 6.1.3 in /lambdas in the octokit group ([#4252](https://github.com/philips-labs/terraform-aws-github-runner/issues/4252)) ([25f3538](https://github.com/philips-labs/terraform-aws-github-runner/commit/25f3538d59dd76ecea704727c754e0407610f0d3))
15
+
***lambda:** bump the aws group in /lambdas with 7 updates ([#4251](https://github.com/philips-labs/terraform-aws-github-runner/issues/4251)) ([6a98712](https://github.com/philips-labs/terraform-aws-github-runner/commit/6a98712fd522c1721c7e094204f1723f11e962d8))
0 commit comments