Skip to content

Postgres Clickpipe must be paused to edit #497

Description

@eudaimos

Description

I get an error and failed terraform apply when attempting to add more tables to an existing Postgres Clickpipe.

I searched the issues first and could not find any relevant open or closed issues related to a Clickpipe needing to be paused ("pause" and "paused" search terms produce 0 results).

Cloud provider

Not applicable

Service tier

Not applicable

Affected resource(s)

clickhouse_clickpipe

Provider version

3.11.1-alpha1

Terraform version

1.11.1

Terraform configuration

It's pretty self-explanatory. I'm using Terragrunt v0.75.0 so I'm not sure how to produce the minimal TF config

Expected behavior

The TF Provider automates pausing the Clickpipe itself before performing the update.

Actual behavior

I get the following error from my CI/CD (Github Actions run):

  ╷
  │ Error: Error Updating ClickPipe
  │ 
  │   with clickhouse_clickpipe.postgres_clickpipes["pg_public_cdc"],
  │   on main.tf line 229, in resource "clickhouse_clickpipe" "postgres_clickpipes":
  │  229: resource "clickhouse_clickpipe" "postgres_clickpipes" {
  │ 
  │ Could not update ClickPipe, unexpected error: status: 400, body:
  │ {"requestId":"d3c7e480-84a0-4cd1-a877-e3397e4715af","error":"BAD_REQUEST:
  │ Postgres ClickPipe must be paused to edit","status":400}
  ╵

Additional context

In order to get it to pass and do what is expected, I have to use my browser and navigate to the Web Console > Service > Data Sources > Clickpipe > Settings and manually pause the clickpipe.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions