Skip to content

Confluent Cloud API Times out even though Creation is Successful #99

@theharrisonchow

Description

@theharrisonchow

When creating multiple API keys at once through the provider, all api keys timeout even though they were created successfully. On the terraform state file, it shows as the resources were tainted. Current work around is just to untaint the resource, but it seems the provider is just not able to find the api key post creation.

Sample error:

confluentcloud_api_key.api-key-001: Still creating... [5m30s elapsed]
2021/08/11 13:00:46 [DEBUG] POST https://state/
╷
│ Error: Error waiting for API Key (400000) to be ready: timeout while waiting for state to become 'Ready' (last state: 'Pending', timeout: 5m0s)
│ 
│   with confluentcloud_api_key.api-key-001,
│   on main.tf line 23, in resource "confluentcloud_api_key" "api-key-001":
│   23: resource "confluentcloud_api_key" "api-key-001" {
│ 
╵

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions