Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import to state files #254

Open
kinseii opened this issue Jun 10, 2024 · 1 comment
Open

Import to state files #254

kinseii opened this issue Jun 10, 2024 · 1 comment
Assignees
Labels
kind/feature New feature or request

Comments

@kinseii
Copy link

kinseii commented Jun 10, 2024

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.

@kinseii kinseii added the kind/feature New feature or request label Jun 10, 2024
@kinseii kinseii changed the title [Feature] Import to state files Import to state files Jun 10, 2024
@romanprog romanprog self-assigned this Jun 18, 2024
@romanprog
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/feature New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants