Releases: aleks-fofanov/terraform-gitlab-runner-aws-spot
Releases · aleks-fofanov/terraform-gitlab-runner-aws-spot
Allow customization of manager instance IMDS parameters
What
- Allow customization of manager instance IMDS parameters
- Bump null label modules to 0.25.0
- Bump default docker-machine version to 0.16.2-gitlab.13
- Bump default gitlab runner version to 14.2.0
Why
- There is an issue with distributed cache feature related to how manager instance uses IMDS, setting parameter
metadata_http_tokens_required
tofalse
should help to solve the problem with cache not being extracted from S3
Make spot block duration optional in the docker machine config
What
- Make
amazonec2-block-duration-minutes
param optional in the runner config
Why
- Spot Instances with a defined duration (also known as Spot blocks) are no longer available to new AWS customers from July 1, 2021. For customers who have previously used the feature, AWS will continue to support Spot Instances with a defined duration until December 31, 2022 (deprecation notice). If you don't need Spot Instances with a defined duration, please set
spot_block_duration
parameter to 0 in the runner config object
Add more pre-commit hooks, refactor module, switch to Github actions
What
- Add more pre-commit hooks (
validate
,tflint
,tfsec
) - Replace Travis CI with Github Actions pre-commit Workflow
- Split variable
create_service_linked_roles
into separate forspot
andautoscaling
service-linked roles
Why
- Previously there was only one pre-commit hook -
fmt
- Switch from Travis CI to Github actions workflow which utilizes pre-commit hooks and does more checks in CI than Travis did
- Previously it wasn't possible to create just missing service-linked role (i.e.
spot
orautoscaling
)
Support TF 0.13
What
- Support TF 0.13
- Upgrade docker machine version to the latest
- Fix issue when cloudwatch logs were not shipped
- Update docs
Why
- TF 0.13 and beyond was not supported
- The logs were not shipped to Cloudwatch because of the changes in instance metadata service
Add support for autoscaling periods and requesting on-demand instances for worker nodes
What
- Add support for autoscaling periods and remove Off peak time mode support
- Add support for requesting on-demand instances
- Add complete example to the repo
- Replace
template_file
data sources withtemplatefile
function
Why
- Off peak time mode configuration is deprecated and will be removed in Gitlab runner release 14.0
templatefile
is a recommended replacement fortemplate_file
data sources in TF 0.12
Fix typos in the scripts
What
- Fix typo in unregister runner script
- Fix typo in logging script
Why
- There were a few typos, the one in the logging script prevented user-data script from execution due to syntax error
Initial release
Initial release