Terraform force replacement on replica already imported

I’m trying to run terraform and don’t make changes related to the db, for that reason I already imported all the resources. I’m having an issue with the replica because I have already imported that resource, with all the same parameters. But even with all the same is trying to replace. Here is the output

  #[0][0] must be replaced

      ~ private_uri          = (sensitive value)
      + size                 = "gd-32vcpu-128gb" # forces replacement
      ~ tags                 = [

This is the replica in digitalocean

 / 128 GB RAM / 32vCPU / 695 GB Disk / Primary + Standby / NYC3 - PostgreSQL 11

Submit an answer
Answer a question...

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer