Giter Club home page Giter Club logo

Comments (4)

conzy avatar conzy commented on July 21, 2024 1

Encountering same issue today. Because the Dockerfile in the project does not specify a tag: FROM hashicorp/terraform even though I have pinned this Action @ 1.0.0 I have been hit by a breaking change. Presumably because hashicorp/terraform:latest was updated to Terraform 14 yesterday

from terraform-lint.

xorima avatar xorima commented on July 21, 2024

So it looks like this will mean a fundamental rewrite of the action as it appears docker does not support the dynamic selection of image.

I will look into how to do this soon, though I aim not to change how you all interact with it except to add some parameter which will allow you to select the version.

On a side note does anyone have documentation of a way of installing the latest or a selected version of terraform dynamically?

Thanks!

from terraform-lint.

abelnieva avatar abelnieva commented on July 21, 2024

On a side note does anyone have documentation of a way of installing the latest or a selected version of terraform dynamically?

maybe we can use https://github.com/tfutils/tfenv or https://hub.docker.com/r/hashicorp/terraform/dockerfile

from terraform-lint.

xorima avatar xorima commented on July 21, 2024

So I've finally got back around to this (sorry about how long) and github actions still does not support dynamic from: in Dockerfile so I'm trying to work out if we want to add complexity to this or not in order to meet this requirement.

I will do some testing to find out if using tfenv is faster than pulling from dockerhub or not and make a decision based on the outcome of that (I know that Dockerfile based runs are not exactly fast after all)

from terraform-lint.

Related Issues (3)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.