dd2tf icon indicating copy to clipboard operation
dd2tf copied to clipboard

Allow for automatic generation of terraform import statements for generated resources

Open pratikmallya opened this issue 3 years ago • 0 comments

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

pratikmallya avatar Mar 01 '21 05:03 pratikmallya