Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
🤖 I have created a release beep boop
2.0.0 (2022-12-28)
⚠ BREAKING CHANGES
Features
Bug Fixes
Migration Directions
Application tagged namespaces
In #2182 the Application tag on the runner is namespace, in this release the support for the old tag is removed (#2705) and only the new tag
ghr:Application
is used for scaling down. To ensure that olds instances got removed by the scale-down function it is important to first upgrade to 1.17. Alternative you can stop them manually.Terraform 1.3+ required
We drop support for Terraform versions between lower then 1.3. This means versions 1.0.x till 1.2.x are not longer supported. The impact of upgrading from any Terraform version above 1 to 1.3.x should be minimal.
SSM Paths changed - Update required for tailored start-runner script (#2569)
Migration is only required when using your tailored start-runner script for example when building your own AMI. Before all parameters were based on convention. We have update them to be predictable with still similar conventions as default.
We set the tag
ghr:ssm_config_path
as EC2 instance tag to the path used for the configuration. In the config path we store the same values as before (run_as
,enable_cloudwatch
,agent_mode
). The tokens are stored in a separate location which can be retrieved by looking up the valuetoken_path
in the config.For a more details example check-out the following diffs:
Multi runner capability (#2519)
runner_enable_workflow_job_labels_check
is not available under this module as we now only support the flagenable_runner_workflow_job_labels_check_all
to check all/partial workflow labels to be present in the runner labels. Running TF apply on existing deployment will apply some changes done in internal modules to existing infrastructure.Removal support check_run (#1256
In the past we used for scaling the check_run event, since GitHub had now support for a workflow_job event. Now the event is upport for quite some time. And also support exists on GHES. We will phase out check_run support.
Ensure you configure the GitHub app to subscribe to workflow_job. In case you on an old GHES server version, the only. migration path is to update GHES or remain on old version of the module
Removal old scale-down mechanism
Migration is only required when you are on an older version than 0.19.0.
Default Node version and lambda architecture
The default for node is set to node 18 (LTS) and the default for the lambda architecture is changed from x64 to arm64. This architecture change has no impact on the runners (#2763).
Variables
Depcreated variables are removed from the module.
The following variables are renamed for consistently. Old variables names will trigger an error with upgrade instruction.
This PR was generated with Release Please. See documentation.