runner-images icon indicating copy to clipboard operation
runner-images copied to clipboard

Terraform 1.10.0 bug

Open endorama opened this issue 1 year ago • 3 comments

Description

Terraform v1.10.0 is affected by this bug https://github.com/hashicorp/terraform/issues/36106

Solved in v1.10.1 (PR | release)

I expect this issue to be present in all runner images containing Terraform v1.10.0, from a quick search the only one affected seems to be Ubuntu 22.04.

Platforms affected

  • [ ] Azure DevOps
  • [X] GitHub Actions - Standard Runners
  • [ ] GitHub Actions - Larger Runners

Runner images affected

  • [ ] Ubuntu 20.04
  • [X] Ubuntu 22.04
  • [ ] Ubuntu 24.04
  • [ ] macOS 12
  • [ ] macOS 13
  • [ ] macOS 13 Arm64
  • [ ] macOS 14
  • [ ] macOS 14 Arm64
  • [ ] macOS 15
  • [ ] macOS 15 Arm64
  • [ ] Windows Server 2019
  • [ ] Windows Server 2022

Image version and build link

Version: 20241201.1.0

Is it regression?

no

Expected behavior

Terraform does not have a bug.

Actual behavior

Terraform 1.10.0 included with the image is affected by https://github.com/hashicorp/terraform/issues/36106

Repro steps

Run a GitHub Action pipeline using terraform apply --auto-approve with list/dict variables and setting them with env-vars.

endorama avatar Dec 09 '24 11:12 endorama

Hi @endorama Thank you for bringing this issue to our attention. We are looking into this issue and will update you on this issue after investigating.

RaviAkshintala avatar Dec 09 '24 11:12 RaviAkshintala

@RaviAkshintala I confirm the presence of this issue, it is affecting all our pipelines that rely on pre-installed Terraform. It could be worked around by setting up specific version of Terraform (either 1.9.8 or 1.10.1) manually in a dedicated step - but then, that defeats the purpose of having Terraform pre-installed on the runner. (Yes, it's generally better to do that anyway, but using the pre-installed binary is a tiny bit faster and more convenient.)

I've read that you (GitHub) release a new version of the runner images (with updated packages) more of less once a week. I also see that the last (current) version with Terraform 1.10.0 was released about a week ago. Is there any chance a new runner image release, with Terraform 1.10.1, will be rolled out in the next 24 hours?

If not, please let us know, so that we can arrange ourselves appropriately (ie. update all the pipelines so they use specific Terraform version and do not rely on the pre-installed binary).

patrik-simunic-cz avatar Dec 09 '24 21:12 patrik-simunic-cz

Hi @patrik-simunic-cz The latest version of Terraform, 1.10.1, will be included in this week's image rollout. Thanks.

RaviAkshintala avatar Dec 10 '24 06:12 RaviAkshintala

Hi @endorama The latest version of Terraform is included in the Ubuntu 20 and 22 images. Kindly sync the main. We are closing this issue. Thanks.

RaviAkshintala avatar Dec 16 '24 14:12 RaviAkshintala

Thank you!

endorama avatar Dec 17 '24 14:12 endorama