Giter Site home page Giter Site logo

Comments (4)

paultyng avatar paultyng commented on August 10, 2024 8

I'm not sure whats wrong in this case, do you possibly have another version constraint somewhere else in your configuration, for example in a terraform block's required_providers?

When I run your sample file in a clean directory I get:

PS C:\Users\paul\sandbox\013> terraform version
Terraform v0.13.4
PS C:\Users\paul\sandbox\013> terraform init

Initializing the backend...

Initializing provider plugins...
- Finding hashicorp/random versions matching "3.0.0"...
- Installing hashicorp/random v3.0.0...
- Installed hashicorp/random v3.0.0 (signed by HashiCorp)

Terraform has been successfully initialized!

You may now begin working with Terraform. Try running "terraform plan" to see
any changes that are required for your infrastructure. All Terraform commands
should now work.

If you ever set or change modules or backend configuration for Terraform,
rerun this command to reinitialize your working directory. If you forget, other
commands will detect it and remind you to do so if necessary.

from terraform-provider-random.

snolan-uturn avatar snolan-uturn commented on August 10, 2024 7

If your module uses another module that has a conflicting version requirement this will occur, so check the required_provider blocks in any modules referenced by your module. This is referred to in the docs here https://www.terraform.io/docs/configuration/provider-requirements.html#best-practices-for-provider-versions

from terraform-provider-random.

paultyng avatar paultyng commented on August 10, 2024 1

Yes, sorry I missed this above, this is the result of module version requirements being in conflict with each other or the root module. They need to agree on their constraints.

from terraform-provider-random.

github-actions avatar github-actions commented on August 10, 2024

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.
If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further.

from terraform-provider-random.

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.