title: How to swap between two resources in terraform
body: <p>By mistake I imported the id of resource1 to the address of resource2 and vice versa.
  How can I swap between them?</p>
  <p>For example: I have two aws instances but the id of the first instance was imported to the second instance's resource address and the id of the second instance was imported to the first.</p>