Using Terraform

I am new to PD and Terraform. So first off, please forgive me. I have found that I can add a user, then when I add a second user the first user gets destroyed. Is that how it should be? That leads me to believe I must keep a master list of users in a tf file that would be edited whenever a user update is needed. Thank you in advance.

Ted - you would either add them all into your TF configuration file or feed them into the TF file from a CSV file for example.

Here’s an “all in one” example:

And better practices here with resources broken out into individual TF files:

1 Like