Open kinseii opened 4 months ago
Hello.
Thanks for the request, we already have quite a few requests for such functionality. This is a rather complex task, on which we are already working. Since cdev mostly only generates terraform code - "import" is not quite the right name.
We will add to cdev stackTemplate
a new type of unit tf-dir
, which will allow users to integrate into the project a directory with terraform code that has already been applied without cdev and has its own state. Other units will be able to refer to the output of this code.
The release of the new unit is expected in the next 2-3 weeks.
What would you like to add Is it possible to make an implementation of importing the current state into state files?
Why is this needed I would like to migrate the current infrastructure to cluster.dev, but to do this I need to import the state of the infrastructure into the state files.