Skip to content

Allow for automatic generation of terraform import statements for generated resources #37

@pratikmallya

Description

@pratikmallya

Importing a large number of resources can create a lot of manual effort for importing, as the user has to manually terraform import the resources into the statefile. If the tool were to spit out terraform import statements that the users could just run, that would be sublime. e.g.

dd2tf monitors --ids 8651460

... generated tf

Import these resources using:
terraform import datadog_monitor.dd_8651460 8651460

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions