A team wants Terraform to manage an existing cloud object without creating another. Which workflow fits?

Published
  1. Delete the cloud object before reading its identifier
  2. Use a data source and assume lifecycle management is enabled
  3. Write matching configuration and import the existing object
  4. Run apply with an empty state and unrelated resource names

Comments — 0