Git Product home page Git Product logo

Comments (4)

beatcracker avatar beatcracker commented on July 21, 2024

I've hit this issue to: I need to use newer version of the google-beta provider which supports IAM Conditions. Unfortunately, I can't do that because of the constraints in the module.

The official recommendation for modules is to use >=

Specifying Required Provider Versions

Re-usable modules should constrain only the minimum allowed version, such as >= 1.0.0. This specifies the earliest version that the module is compatible with while leaving the user of the module flexibility to upgrade to newer versions of the provider without altering the module.

from terraform-google-lb-http.

morgante avatar morgante commented on July 21, 2024

We intentionally pin our versions pessmistically to prevent unexpected errors, but I would be happy to review/accept a PR which changes the version constraint to >= 2.15, <4.0 and updates the version used in tests.

from terraform-google-lb-http.

danielezer avatar danielezer commented on July 21, 2024

@morgante @Dev25 I think you missed one of the version constraints...
In test/setup/versions.tf I can still see the following block:

provider "google" {
  version = "~> 2.15"
}

provider "google-beta" {
  version = "~> 2.15"
}

This causes terraform init to fail with this error:

Error: provider.google-beta: no suitable version installed
  version requirements: "~> 2.15,~> 2.15"
  versions installed: "3.6.0"

Error: provider.google: no suitable version installed
  version requirements: "~> 2.15,~> 2.15"
  versions installed: "3.6.0"

from terraform-google-lb-http.

danielezer avatar danielezer commented on July 21, 2024

I think this issue should be re-opened

from terraform-google-lb-http.

Related Issues (20)

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.