Giter Site home page Giter Site logo

Comments (9)

linouk23 avatar linouk23 commented on June 12, 2024 1

@itaykat it didn't, we're working on a fix that we are hoping to release toward the end of March.

from terraform-provider-confluentcloud.

linouk23 avatar linouk23 commented on June 12, 2024

Thanks for raising an issue @vilmosnagy!

Reading our sample guide might help to get more context.

More specifically, you for 0.2.0 TF provider version you need to follow this section. The catch is you need to use Cluster API Key instead of Cloud API Key:

credentials {
  key = var.kafka_api_key
  secret = var.kafka_api_secret
}

Let me know if that helps!

and create the topics in one terraform apply?

It's not possible in 0.2.0 version just yet but might become available in 0.3.0 release when we add a new API Key TF resource.

from terraform-provider-confluentcloud.

vilmosnagy avatar vilmosnagy commented on June 12, 2024

Thanks four your quick reply @linouk23!

If I understand you correctly, there's no way to create:

  • the cluster
  • the topics in this cluster

And there's no way to create API keys for the cluster in terraform as well.

in one terraform run. I have to:

  • create the cluster with a terraform apply -var="should_create_the_topics_as_well=false"
  • go to the confluent cloud website, and create an API key for the cluster on the UI
  • rerun my terraform script with terraform apply -var="should_create_the_topics_as_well=true"

Is that correct? That seems a bit complicated, that I can't create my whole infrastructure from terraform in one go, but I have to go to the UI multiple times.

from terraform-provider-confluentcloud.

linouk23 avatar linouk23 commented on June 12, 2024

Is that correct? That seems a bit complicated, that I can't create my whole infrastructure from terraform in one go, but I have to go to the UI multiple times.

That's exactly right!

That said, we are aware of these important issues and will fix in our new versions of TF provider so it'll be possible to create whole infrastructure from terraform in one go without having to go to the UI at all.

from terraform-provider-confluentcloud.

phumberdroz avatar phumberdroz commented on June 12, 2024

Where can I keep track of this feature request?

from terraform-provider-confluentcloud.

linouk23 avatar linouk23 commented on June 12, 2024

@phumberdroz that's a great question, I'm not sure why I closed this issue.

The best way is probably to start watching this repository and so you're notified whenever there are any updates.

from terraform-provider-confluentcloud.

itaykat avatar itaykat commented on June 12, 2024

Does version 0.3.0 fixed that issue? didn't see any related line in the changelog...

from terraform-provider-confluentcloud.

ConfluentSpencer avatar ConfluentSpencer commented on June 12, 2024

Duplicate of this request:
#4

from terraform-provider-confluentcloud.

linouk23 avatar linouk23 commented on June 12, 2024

@vilmosnagy, @itaykat we're very excited to let you know we've just published a new version of TF Provider that includes api_key resource among other very exciting improvements: it enables fully automated provisioning of our key Kafka workflows (see the demo) with no more manual intervention and makes it our biggest and most impactful release.

The only gotcha we've renamed it from confluentinc/confluentcloud to confluentinc/confluent but we published a migration guide so it should be fairly straightforward. The existing confluentinc/confluentcloud will be deprecated soon so we'd recommend switching as soon as possible.

New confluentinc/confluent provider also includes a lot of sample configurations so you won't need to write them from scratch. You can find them here, find a full list of changes here.

from terraform-provider-confluentcloud.

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.