How can we set a fixed Terraform version so that it is already available in the base image and does not need to be downloaded repeatedly?
hi @raymond.baoly …
We want to restrict Terraform downloads within our project’s Docker image. Currently, Terraform downloads the required providers every time a pipeline is triggered, which causes unnecessary overhead and external internet dependency.
Our goal is to package the required Terraform binary and provider plugins inside the Docker image so that Terraform always uses the pre-downloaded versions locally, without reaching out to the internet.
Please advise on the best way to configure this setup so that pipelines consistently use the locally available Terraform components.
I don’t have any lab link , it’s in my current project.