DEV Community

loading...

Discussion on: Getting started with Terraform: Practical advice

Collapse
aakatev profile image
Artem

Therefore, you should map that resource in the code (empty, this is important), and later on terraform plan you can accommodate its properties so that there are no changes in it.

You can also use show, which gives you HCL of the current state:

terraform show -no-color > dump.tf