Skip to content

Add support for importing existing resources into terraform state #1602

@newtondev

Description

@newtondev

Is your feature request related to a problem? Please describe.
What if your resource already exists and you just want to import it's state and have it be managed by terranetes? Future updates to the Kubernetes resource would then continue to apply and manage the state.

Describe the solution you'd like
For example when using terraform from the command line you tend to import state like:

terraform import aws_iam_role.role_name my_role

This is a bit of an easy example, but what if the resource you want to import was created by legacy tooling and you wanted to migrate to using terranetes.

The documentation does not indicate that this kind of feature is possible.

Your help would be greatly appreciated on understanding whether this is possible. Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions