terraform-provider-confluent: resources incorrectly expecting `http_endpoint` in `confluent_kafka_cluster` resource
Cluster’s REST http_endpoint is incorrectly expected as a required variable for several resources, thereby deterring usability. Examples: confluent_api_key, confluent_kafka_acl
╷
│ Error: error fetching Kafka Cluster "abc-cluster"'s "http_endpoint" attribute: http_endpoint is nil or empty for Kafka Cluster "abc-cluster"
│ 8: resource "confluent_api_key" "cluster-api-key" {
│
╵
From TF Docs:

From API Docs:

About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 19
@linouk23 Right, my understanding was that these were intended to be privileged keys. Quite sure I read something along those lines in the doco too (will try to find that). The way I understood it: a user could create multiple
confluent_service_accountandconfluent_api_keys (say inDeveloperReadlevel) in their TF code but would ideally supply the higher privileged key for creating resources such as acls, service_accounts, etc.