Skip to content

Provide tooling for importing existing RouterOS configuration easily #719

@ricardbejarano

Description

@ricardbejarano

Is your feature request related to a problem? Please describe.
Onboarding pre-configured devices into Terraform is tedious, given most resources are imported using their *N IDs.

Describe the solution you'd like
Have a script that connects to a RouterOS device and generates the Terraform code needed to import all its configuration into resources, along with all non-default resource settings.
It doesn't need to structure the resources into state perfectly, that can be refactored later, but getting the resources into state at the very least would be fantastic for devices with 100+ settings in deployments with multiple devices.

I am willing to develop this myself, I'm opening the issue to gather feedback and track progress.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions