Terraform

True or False? it's common to edit terraform state file directly by hand and even recommended for many different use cases

Difficulty: unrated

Source: bregman-arie/devops-exercises by Arie Bregman

Answer

False. You should avoid as much possible to edit Terraform state files directly by hand. Prefer supported commands such as terraform state mv, terraform state rm, or terraform state replace-provider so the CLI keeps metadata consistent.