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.18.0](v5.17.3...v5.18.0)
(2024-10-28)
### Features
* support AWS EventBridge
([#4188](https://github.com/philips-labs/terraform-aws-github-runner/issues/4188))
([9607ca6](9607ca6))
### Migration directions
This release is adding optional the
[EventBridge](https://philips-labs.github.io/terraform-aws-github-runner/configuration/#eventbridge)
as option to the webhook. No matter if the feature is enabled or not
resources are moved internally. Which will destroy all webhook related
resources update to this verions.
To retain data for the Loggroup of the webhook or mmetrics for the
webhook the resources not to be moved in the Terraform state. You can
add HCL moved blocked to your deployment to instruct Terraform to move
the resources instead of re-create.
<details>
<summary>Examples Terraform `moved` blockes</summary>
#### With module defaults or eventbridge is not eanavbled
```hcl
# log group
moved {
from = module.<runner-module-name>.module.webhook.aws_cloudwatch_log_group.webhook
to = module.<runner-module-name>.module.webhook.module.direct[0].aws_cloudwatch_log_group.webhook
}
# lambda
moved {
from = module.<runner-module-name>.module.webhook.aws_lambda_function.webhook
to = module.<runner-module-name>.module.webhook.module.direct[0].aws_lambda_function.webhook
}
```
#### With EventBridge enabled
```hcl
# log group
moved {
from = module.<runner-module-name>.module.webhook.aws_cloudwatch_log_group.webhook
to = module.<runner-module-name>.module.webhook.module.direct[0].aws_cloudwatch_log_group.webhook
}
# lambda
moved {
from = module.<runner-module-name>.module.webhook.aws_lambda_function.webhook
to = module.<runner-module-name>.module.webhook.module.direct[0].aws_lambda_function.webhook
}
```
#### Ater upgrade swithcing between webhook to EventBridge
When enable mode `eventbridge`
```hcl
# log group
moved {
from = module.runners.module.webhook.module.direct[0].aws_cloudwatch_log_group.webhook
to = module.runners.module.webhook.module.eventbridge[0].aws_cloudwatch_log_group.webhook
}
# lambda
moved {
from = module.runners.module.webhook.module.direct[0].aws_lambda_function.webhook
to = module.runners.module.webhook.module.eventbridge[0].aws_lambda_function.webhook
}
```
Or vice versa for moving from `eventbride` to `webhook`
</details>
---
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>
0 commit comments