Skip to content

fix: gitlab aws runner aws version was not compatible with 4.20.1

Keith Grootboom requested to merge keith/fix-gitlab-runner into main

Description

Fixes the gitlab runner version to be compatible with the latest AWS version.

Supporting information

Before the change:

$./scripts/terraform.sh init
Initializing modules...

Initializing the backend...

Initializing provider plugins...
- Finding latest version of hashicorp/archive...
- Finding hashicorp/aws versions matching "~> 3.35, >= 3.63.0, ~> 4.10.0"...
- Finding latest version of hashicorp/null...
- Finding latest version of hashicorp/random...
- Installing hashicorp/archive v2.2.0...
- Installed hashicorp/archive v2.2.0 (signed by HashiCorp)
- Installing hashicorp/null v3.1.1...
- Installed hashicorp/null v3.1.1 (signed by HashiCorp)
- Installing hashicorp/random v3.3.1...
- Installed hashicorp/random v3.3.1 (signed by HashiCorp)

│ Error: Failed to query available provider packages

│ Could not retrieve the list of available versions for provider hashicorp/aws: no available releases match the given constraints ~> 3.35, >= 3.63.0, ~>
│ 4.10.0

After the change the error will no longer show up.

Testing instructions

There should be no errors.

Test run of a pipeline created with this code: https://gitlab.com/opencraft/ops/grove-stage-digitalocean/-/jobs/2650699549

Checklist

If any of the items below is not applicable, do not remove them, but put a check in it.

  • All providers include the new feature/change
  • All affected providers can provision new clusters
  • Unit tests are added/updated
  • Documentation is added/updated
  • The TOOLS_CONTAINER_IMAGE_VERSION in ci_vars.yml is updated
  • The grove-template repository is updated
Edited by Keith Grootboom

Merge request reports