Error occurred during fetching plan data for Google Cloud's Cloud SQL


I am deploying Google Cloud Platform resources for our service infra.

While doing this, a problem occurred when I did plan with Cloud SQL resource.

The new plan fails to find already deployed resource (i.e., Cloud SQL database) and enforces delete-and-create deployment of the resource.

Following screenshot shows the problem.

  • Terraform version: 1.1.5
  • Google-beta provider version: 4.10.0

Help me, plz.

I’m seeing the same error across several workspaces and cloudsql instances.

if you run a normal apply and dont use the structured output UI, and just use the logs, you can see the plan.

This looks to be a bug in the terraform cloud UI