Define the purpose of state in Terraform.
Define the purpose of state in Terraform.
State maps real world resources to your configuration and keeps track of metadata. This is essential in Terraform's operation as it allows Terraform to manage the infrastructure effectively by knowing the current state of resources, handling updates, and detecting changes.
The answer D.
https://developer.hashicorp.com/terraform/language/state/purpose#mapping-to-the-real-world https://developer.hashicorp.com/terraform/language/state/purpose#metadata
meta data