a10networks / terraform-provider-thunder

terraform-provider-thunder
BSD 2-Clause "Simplified" License
15 stars 9 forks source link

Support for terraform import #71

Open tsmalls93 opened 6 months ago

tsmalls93 commented 6 months ago

It would be nice to be able to import existing resources. It is risky to destroy and recreate the resources to get them into terraform.

tsmalls93 commented 6 months ago

I found a temporary workaround.

  1. run terraform apply. There will be an error saying the resource already exists.
  2. Untaint the resource
  3. Run terraform apply again. It should say "Your infrastructure matches the configuration."

I still would push to support terraform import.