dd2tf icon indicating copy to clipboard operation
dd2tf copied to clipboard

What are the differences between this tool vs terraform import?

Open sithu opened this issue 3 years ago • 1 comments

Hi folks,

I am trying to decide between dd2tf and this to convert all manual DataDog monitors into TF.

https://registry.terraform.io/providers/DataDog/datadog/latest/docs/resources/monitor#import

Thanking you in advance.

  • Sithu

sithu avatar Jan 08 '21 22:01 sithu

@sithu terraform import can import the state of the object, but it won't give you the Terraform files.

At least personally, I was usually doing this: creating some stub Terraform resources, then doing the import, and then iteratively: tf plan followed by changes, till tf plan would show no changes.

This tools generated ready to use Terraform files, omitting all those steps.

amnk avatar Jan 08 '21 22:01 amnk