I tried to find these details but was unable, I needed to tinker with a deployed terraform-managed extension in our state using terraform state rm and terraform import without deleting data from the DB by destroy and recreate; so I thought to share the steps in case it helps others.
I did not test doing this for other resources, so I am not able to add this for all, but feel free to expand on this and/or configure a similar addition to the other resources.
Hi reviewers,
I tried to find these details but was unable, I needed to tinker with a deployed terraform-managed extension in our state using
terraform state rm
andterraform import
without deleting data from the DB by destroy and recreate; so I thought to share the steps in case it helps others.I did not test doing this for other resources, so I am not able to add this for all, but feel free to expand on this and/or configure a similar addition to the other resources.
Thanks in advance for your timely review.