DEV Community


Discussion on: Getting started with Terraform: Practical advice

aakatev profile image

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 >