amnk / dd2tf

Export DataDog configuration to Terraform
99 stars 39 forks source link

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

Open pratikmallya opened 3 years ago

pratikmallya commented 3 years ago

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