Comments (3)
The below works. The right configuration would be
provider "confluentcloud" {
api_key = var.api_key
api_secret = var.api_secret
}
from terraform-provider-confluentcloud.
Thanks for both opening the issue and sharing the fix! 👏
You're right, one needs to use api_key
instead of username
and api_secret
instead of password
, e.g.:
$ cat variables.tf
variable "confluent_cloud_api_key" {
type = string
description = "Cloud API Key"
sensitive = true
}
variable "confluent_cloud_api_secret" {
type = string
description = "Cloud API Secret"
sensitive = true
}
$ cat terraform.tfvars
confluent_cloud_api_key="..."
confluent_cloud_api_secret="..."
$ cat main.tf
terraform {
required_providers {
confluentcloud = {
source = "confluentinc/confluentcloud"
version = "0.1.0"
}
}
}
provider "confluentcloud" {
api_key = var.confluent_cloud_api_key
api_secret = var.confluent_cloud_api_secret
}
# Create the resources
...
We're going to fix it in our next release 👌
from terraform-provider-confluentcloud.
@bluedog13 check out the docs for our new 0.2.0
version where we fixed that documentation bug.
Thank you for catching the issue!
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.