TIL Terraform: Resolve "Error: Provider configuration not present" To destroy infrastructure in a declarative way, remove the resources from the configuration and make sure you don't also delete the provider block (or file).