Command
terraform init
Explanation
Initializes a Terraform working directory, downloads provider plugins, and sets up the backend for storing state. Must run before applying any configurations.
Examples
Initialize with custom backend config
terraform init -backend-config='key=dev/terraform.tfstate'