You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tried terraform import for existing stress env. Was able to import entities like env, cluster. But subsequent Terraform Plan unable to detect existing resources API Key & Service account and populating under destroy list like show below.
confluentcloud_service_account.test: Refreshing state... [id=156958]
confluentcloud_environment.environment: Refreshing state... [id=env-kj5w2]
confluentcloud_kafka_cluster.test: Refreshing state... [id=lkc-j0xw8]
confluentcloud_api_key.provider_test: Refreshing state... [id=186917]
------------------------------------------------------------------------
An execution plan has been generated and is shown below.
Resource actions are indicated with the following symbols:
-/+ destroy and then create replacement
Terraform will perform the following actions:
# confluentcloud_api_key.provider_test must be replaced
-/+ resource "confluentcloud_api_key" "provider_test" {
+ cluster_id = "lkc-j0xw8" # forces replacement
+ environment_id = "env-kj5w2" # forces replacement
~ id = "186917" -> (known after apply)
+ key = (known after apply)
+ secret = (sensitive value)
}
# confluentcloud_service_account.test must be replaced
-/+ resource "confluentcloud_service_account" "test" {
+ description = "Service account for hcs-kafka" # forces replacement
~ id = "156958" -> (known after apply)
+ name = "hcs-kafka-sa" # forces replacement
}
Plan: 2 to add, 0 to change, 2 to destroy.
The text was updated successfully, but these errors were encountered:
Tried terraform import for existing stress env. Was able to import entities like env, cluster. But subsequent Terraform Plan unable to detect existing resources API Key & Service account and populating under destroy list like show below.
The text was updated successfully, but these errors were encountered: