Skip to content
This repository was archived by the owner on Jan 16, 2025. It is now read-only.

Commit 3c78f65

Browse files
officelgithub-actions[bot]npalm
authored
fix: Replace deprecate aws_cloudwatch_event_rule.is_enabled, requires provide upgrade (#3655)
see https://github.com/philips-labs/terraform-aws-github-runner/issues/3652 --------- Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Niek Palm <[email protected]>
1 parent c98f7f7 commit 3c78f65

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+609
-494
lines changed

Diff for: README.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -83,14 +83,14 @@ Talk to the forestkeepers in the `runners-channel` on Slack.
8383
| Name | Version |
8484
|------|---------|
8585
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.3.0 |
86-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | ~> 5.2 |
86+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | ~> 5.27.0 |
8787
| <a name="requirement_random"></a> [random](#requirement\_random) | ~> 3.0 |
8888

8989
## Providers
9090

9191
| Name | Version |
9292
|------|---------|
93-
| <a name="provider_aws"></a> [aws](#provider\_aws) | ~> 5.2 |
93+
| <a name="provider_aws"></a> [aws](#provider\_aws) | ~> 5.27.0 |
9494
| <a name="provider_random"></a> [random](#provider\_random) | ~> 3.0 |
9595

9696
## Modules
@@ -141,7 +141,7 @@ Talk to the forestkeepers in the `runners-channel` on Slack.
141141
| <a name="input_enable_ami_housekeeper"></a> [enable\_ami\_housekeeper](#input\_enable\_ami\_housekeeper) | Option to disable the lambda to clean up old AMIs. | `bool` | `false` | no |
142142
| <a name="input_enable_cloudwatch_agent"></a> [enable\_cloudwatch\_agent](#input\_enable\_cloudwatch\_agent) | Enables the cloudwatch agent on the ec2 runner instances. The runner uses a default config that can be overridden via `cloudwatch_config`. | `bool` | `true` | no |
143143
| <a name="input_enable_ephemeral_runners"></a> [enable\_ephemeral\_runners](#input\_enable\_ephemeral\_runners) | Enable ephemeral runners, runners will only be used once. | `bool` | `false` | no |
144-
| <a name="input_enable_event_rule_binaries_syncer"></a> [enable\_event\_rule\_binaries\_syncer](#input\_enable\_event\_rule\_binaries\_syncer) | Option to disable EventBridge Lambda trigger for the binary syncer, useful to stop automatic updates of binary distribution. | `bool` | `true` | no |
144+
| <a name="input_enable_event_rule_binaries_syncer"></a> [enable\_event\_rule\_binaries\_syncer](#input\_enable\_event\_rule\_binaries\_syncer) | DEPRECATED: Replaced by `state_event_rule_binaries_syncer`. | `bool` | `null` | no |
145145
| <a name="input_enable_fifo_build_queue"></a> [enable\_fifo\_build\_queue](#input\_enable\_fifo\_build\_queue) | Enable a FIFO queue to keep the order of events received by the webhook. Recommended for repo level runners. | `bool` | `false` | no |
146146
| <a name="input_enable_jit_config"></a> [enable\_jit\_config](#input\_enable\_jit\_config) | Overwrite the default behavior for JIT configuration. By default JIT configuration is enabled for ephemeral runners and disabled for non-ephemeral runners. In case of GHES check first if the JIT config API is avaialbe. In case you upgradeing from 3.x to 4.x you can set `enable_jit_config` to `false` to avoid a breaking change when having your own AMI. | `bool` | `null` | no |
147147
| <a name="input_enable_job_queued_check"></a> [enable\_job\_queued\_check](#input\_enable\_job\_queued\_check) | Only scale if the job event received by the scale up lambda is in the queued state. By default enabled for non ephemeral runners and disabled for ephemeral. Set this variable to overwrite the default behavior. | `bool` | `null` | no |
@@ -219,6 +219,7 @@ Talk to the forestkeepers in the `runners-channel` on Slack.
219219
| <a name="input_scale_down_schedule_expression"></a> [scale\_down\_schedule\_expression](#input\_scale\_down\_schedule\_expression) | Scheduler expression to check every x for scale down. | `string` | `"cron(*/5 * * * ? *)"` | no |
220220
| <a name="input_scale_up_reserved_concurrent_executions"></a> [scale\_up\_reserved\_concurrent\_executions](#input\_scale\_up\_reserved\_concurrent\_executions) | Amount of reserved concurrent executions for the scale-up lambda function. A value of 0 disables lambda from being triggered and -1 removes any concurrency limitations. | `number` | `1` | no |
221221
| <a name="input_ssm_paths"></a> [ssm\_paths](#input\_ssm\_paths) | The root path used in SSM to store configuration and secrets. | <pre>object({<br> root = optional(string, "github-action-runners")<br> app = optional(string, "app")<br> runners = optional(string, "runners")<br> use_prefix = optional(bool, true)<br> })</pre> | `{}` | no |
222+
| <a name="input_state_event_rule_binaries_syncer"></a> [state\_event\_rule\_binaries\_syncer](#input\_state\_event\_rule\_binaries\_syncer) | Option to disable EventBridge Lambda trigger for the binary syncer, useful to stop automatic updates of binary distribution | `string` | `"ENABLED"` | no |
222223
| <a name="input_subnet_ids"></a> [subnet\_ids](#input\_subnet\_ids) | List of subnets in which the action runner instances will be launched. The subnets need to exist in the configured VPC (`vpc_id`), and must reside in different availability zones (see https://github.com/philips-labs/terraform-aws-github-runner/issues/2904) | `list(string)` | n/a | yes |
223224
| <a name="input_syncer_lambda_s3_key"></a> [syncer\_lambda\_s3\_key](#input\_syncer\_lambda\_s3\_key) | S3 key for syncer lambda function. Required if using an S3 bucket to specify lambdas. | `string` | `null` | no |
224225
| <a name="input_syncer_lambda_s3_object_version"></a> [syncer\_lambda\_s3\_object\_version](#input\_syncer\_lambda\_s3\_object\_version) | S3 object version for syncer lambda function. Useful if S3 versioning is enabled on source bucket. | `string` | `null` | no |

Diff for: examples/arm64/.terraform.lock.hcl

+63-43
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: examples/arm64/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ terraform output -raw webhook_secret
3434
| Name | Version |
3535
|------|---------|
3636
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1.3.0 |
37-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | ~> 5.2 |
37+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | ~> 5.27.0 |
3838
| <a name="requirement_local"></a> [local](#requirement\_local) | ~> 2.0 |
3939
| <a name="requirement_random"></a> [random](#requirement\_random) | ~> 3.0 |
4040

Diff for: examples/arm64/versions.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ terraform {
22
required_providers {
33
aws = {
44
source = "hashicorp/aws"
5-
version = "~> 5.2"
5+
version = "~> 5.27.0"
66
}
77
local = {
88
source = "hashicorp/local"

Diff for: examples/base/README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,13 @@
44
| Name | Version |
55
|------|---------|
66
| <a name="requirement_terraform"></a> [terraform](#requirement\_terraform) | >= 1 |
7-
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | ~> 5.2 |
7+
| <a name="requirement_aws"></a> [aws](#requirement\_aws) | ~> 5.27.0 |
88

99
## Providers
1010

1111
| Name | Version |
1212
|------|---------|
13-
| <a name="provider_aws"></a> [aws](#provider\_aws) | ~> 5.2 |
13+
| <a name="provider_aws"></a> [aws](#provider\_aws) | ~> 5.27.0 |
1414

1515
## Modules
1616

Diff for: examples/base/versions.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ terraform {
22
required_providers {
33
aws = {
44
source = "hashicorp/aws"
5-
version = "~> 5.2"
5+
version = "~> 5.27.0"
66
}
77
}
88
required_version = ">= 1"

0 commit comments

Comments
 (0)