Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

What are the differences between this tool vs terraform import? #35

Open
sithu opened this issue Jan 8, 2021 · 1 comment
Open

What are the differences between this tool vs terraform import? #35

sithu opened this issue Jan 8, 2021 · 1 comment

Comments

@sithu
Copy link

sithu commented Jan 8, 2021

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
@amnk
Copy link
Owner

amnk commented Jan 8, 2021

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants