Comments (4)
Thanks for reporting an issue @neuweiler!
We'll investigate it and report back!
from terraform-provider-confluent.
I was using 0.7.0 - will need to re-test with 0.8.0 on a separate environment later - not feasible at the moment due to go-live. I'm fine if you say it works now. You can close the ticket.
from terraform-provider-confluent.
@neuweiler could you confirm which version of TF Provider for Confluent you're using? I didn't manage to reproduce it for 0.8.0
:
- Here's my TF configuration file
terraform {
required_providers {
confluent = {
source = "confluentinc/confluent"
version = "0.8.0"
}
}
}
provider "confluent" {
api_key = var.confluent_cloud_api_key
api_secret = var.confluent_cloud_api_secret
}
resource "confluent_service_account" "test" {
display_name = "orders-app-sa123"
description = "Service Account for orders app"
}
- Run
terraform apply
to create a new service account. - Deleted it using CLI
➜ demo git:(master) ✗ confluent iam service-account delete sa-nvznxv
Deleted service account "sa-nvznxv".
- When I run
terraform apply
(while deleted SA is still in TF state) I can see:
➜ demo git:(master) ✗ terraform plan
confluent_service_account.test: Refreshing state... [id=sa-v73xn5]
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
+ create
Terraform will perform the following actions:
# confluent_service_account.test will be created
+ resource "confluent_service_account" "test" {
+ api_version = (known after apply)
+ description = "Service Account for orders app"
+ display_name = "orders-app-sa123"
+ id = (known after apply)
+ kind = (known after apply)
}
Plan: 1 to add, 0 to change, 0 to destroy.
------------------------------------------------------------------------
Note: You didn't specify an "-out" parameter to save this plan, so Terraform
can't guarantee that exactly these actions will be performed if
"terraform apply" is subsequently run.
- When I run
terraform apply
, I can see
confluent_service_account.test: Refreshing state... [id=sa-nvznxv]
confluent_service_account.test: Creating...
confluent_service_account.test: Creation complete after 1s [id=sa-v73xn5]
- And the only SA in TF state has
sa-v73xn5
now.
Let me know if that makes sense.
from terraform-provider-confluent.
👋 @neuweiler, could you take a look at ⬆️ ?
from terraform-provider-confluent.
Related Issues (20)
- Support importing network,schema registry,tgw attachment resources using Resource Importer
- confluent_tag_binding resource should support entity_name updates for sr_record and sr_field HOT 1
- custom connector deployment and generic API error
- Alias argument for confluent_subject_config resource HOT 7
- confluent_kafka_topic attributes aren't exported, but doc says they are HOT 2
- Support showing that schema_identifier is going to be updated for confluent_schema resource during plan HOT 2
- `rest_endpoint` is not (correctly) imported when importing a migrated `confluent_mirror_topic` into a `confluent_topic` HOT 11
- GCS connector resource HOT 2
- Confluent Cloud API key creation using terraform - How to get API secret on Visual code CLI to pass that information to end user? HOT 2
- Error: error creating Role Binding: 403 Forbidden: Forbidden Access - Getting this error while creating rolebinding HOT 7
- managing local confluent cluster HOT 1
- Schema validation fails when deleting schema HOT 2
- 401 While Creating a Connector HOT 2
- Error creating Business Metadata Binding: Business-metadata attribute already exists in entity
- Request for Documentation around Single-Message Transforms HOT 2
- Error: error fetching Kafka Cluster "lkc-xxxxxx"'s "rest_endpoint" attribute: error reading Kafka Cluster "lkc-xxxxx": 404 Not Found: Resource Not Found HOT 4
- Support all schema registry global config options
- openpgp: key expired HOT 1
- 403 Forbidden Access on confluent_role_binding for environment CRN HOT 4
- Azure Devops Collision with ENVIRONMENT_ID HOT 4
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-confluent.