Coder Social home page Coder Social logo

Comments (5)

bluedog13 avatar bluedog13 commented on July 20, 2024 1

Thank you.

I had forgotten to upgrade the tf version in the modules being referenced. Your answer made me realize that. I should have figured this out by myself.

Once again, thank you kindly for your time in helping me resolve the issue - even though it was not related to confluent terraform.

from terraform-provider-confluent.

linouk23 avatar linouk23 commented on July 20, 2024

I just run

➜  demo git:(master) ✗ terraform init -upgrade --input=false

Initializing the backend...

Initializing provider plugins...
- Finding latest version of confluentinc/confluent...
- Installing confluentinc/confluent v0.8.1...
- Installed confluentinc/confluent v0.8.1 (signed by a HashiCorp partner, key ID D4A2B1EDB0EC0C8E)

Partner and community providers are signed by their developers.
If you'd like to know more about provider signing, you can read about it here:
https://www.terraform.io/docs/plugins/signing.html

Terraform has made some changes to the provider dependency selections recorded
in the .terraform.lock.hcl file. Review those changes and commit them to your
version control system if they represent changes you intended to make.

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.

Could you take a detailed look at -backend-config=./backend.sandbox.hcl? I suspect it might be an issue.

I'm also wondering why your logs say 0.7.0, 0.7.1 (I think it should have been 0.8.1).

from terraform-provider-confluent.

bluedog13 avatar bluedog13 commented on July 20, 2024

The logs says 0.7.1 because I tried to upgrade to both 0.7.1 and 0.8.0 as well. In both instances, the upgrade failed.

from terraform-provider-confluent.

bluedog13 avatar bluedog13 commented on July 20, 2024

If i just run the below, it still fails

$ terraform init -upgrade --input=false

Initializing provider plugins...
- Finding hashicorp/azurerm versions matching "3.3.0"...
- Finding confluentinc/confluent versions matching "0.7.0, 0.8.0"...
- Using previously-installed hashicorp/azurerm v3.3.0
╷
│ Error: Failed to query available provider packages
│
│ Could not retrieve the list of available versions for provider confluentinc/confluent: no available releases match the given constraints
│ 0.7.0, 0.8.0

However to verify, I was able to upgrade from aurerm v3.3.0 to v3.6.0 with no problem using

$ terraform init -upgrade --input=false -backend-config=./backend.sandbox.hcl

Initializing provider plugins...
- Finding confluentinc/confluent versions matching "0.7.0"...
- Finding hashicorp/azurerm versions matching "3.6.0"...
- Using previously-installed confluentinc/confluent v0.7.0
- Installing hashicorp/azurerm v3.6.0...
- Installed hashicorp/azurerm v3.6.0 (signed by HashiCorp)

from terraform-provider-confluent.

linouk23 avatar linouk23 commented on July 20, 2024

I see, actually when I think about it, I remember a similar resolved issue: confluentinc/terraform-provider-confluentcloud#20 (comment), could you try to apply the suggestion from that comment?

TLDR: replace source = "confluentinc/confluentcloud" with source = "registry.terraform.io/confluentinc/confluent"

from terraform-provider-confluent.

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.