A provider we use has renamed resources in their latest version. They did do this at a major release, and tagged it as a breaking change in the docs. However, they never marked the old one as deprecated, nor have a version where both the old and the new are in existence, so I cannot handle this as I usually would (import the existing resources into the new naming).
As far as I can tell, the two ways to handle this are:
- delete all of the resource instances via code with the old version, then recreate them new with the new version, or
- delete the statefile and then import into the new naming via IDs.
Obviously these will both have potential disruption and risk (and I’m not even sure if 2 is doable, my suspicion is that the resources won’t support imports since a lot of theirs don’t, and these don’t mention it being available in the docs), so I’m trying to figure out if there’s any other option that I’m missing. (Other than go to a vendor that follows best practices for their provider, but sadly we’re actually facing this with two different vendors right now, one quite large/prevalent, so…)