Comments (9)
@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.
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.
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.
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.
Where can I keep track of this feature request?
from terraform-provider-confluentcloud.
@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.
Does version 0.3.0 fixed that issue? didn't see any related line in the changelog...
from terraform-provider-confluentcloud.
Duplicate of this request:
#4
from terraform-provider-confluentcloud.
@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)
- Ability to get resources environments by name instead of just id. HOT 2
- Error message when resources are exceeded is confusing HOT 3
- Ability to get resources clusters by name instead of just id. HOT 1
- Make topic deletion a sync operation HOT 1
- v0.4.0/v0.5.0 - Unable to create ACL after creating topic (401 error) - basic cluster HOT 16
- Enhancement: Need to specify Kafka cluster type as argument - for code reusability HOT 6
- Terraform Scripts fails, error indicates plugin crashed HOT 20
- data.confluentcloud_service_account.service_accounts_confluent with display name doesn't use cursor when listing... HOT 4
- Stack trace creating confluentcloud_kafka_acl resource HOT 15
- confluentcloud_service_account update dispay_name fails HOT 2
- Unable to import cluster from confluent cloud HOT 3
- Add confluentcloud_user data source HOT 3
- Add resource for resource specific access HOT 4
- Issues consuming to consume messages after creating some ACLs HOT 3
- Add Kafka API key as a resource HOT 10
- Attempting to create topics in a foreach within a resource HOT 3
- Error data after resource confluentcloud_service_account HOT 2
- ACL creation crash on both 0.5.0 and 0.4.0 HOT 11
- No ability to automate creation of cluster api-keys HOT 1
- Connect + Schema Registry? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from terraform-provider-confluentcloud.