[terraform] support moving state from one backend to another
- Langage dominant
- Go
- Étoiles
- 26
- Forks
- 7
- Merge moyen
- 1 j 1 h
- PR mergées (30 j)
- 1
Description
### TL;DR
Auto-generate terraform `state rm` and `import` commands from resources that have been moved from one terraform entrypoint to another.
### Detailed design
It is possible to determine from a `terraform plan` which resources have been moved from one state to another state. We can use these details to automatically determine which `state rm` and `import` commands need to be run.
Blocker: how do we determine import ID programatically? (not sure there is an easy solution, may need to hardcode and only support a subset of all resources).
### Alternatives considered
_No response_
### Additional information
_No response_
Guide de contribution
Ouvrir le guide de contribution
Évaluation
Cette issue n'a pas encore été évaluée.