Affected: Terraform Integration
Symptoms
The following error occurs when attempting to delete a LaunchDarkly project using the Terraform integration:
You cannot remove the last environment from a project
Cause
When attempting to delete a LaunchDarkly project using the Terraform integration, there is a requirement that every project should have at least one environment. Because of this requirement, we no longer recommend managing environments in Terraform as separate resources.
Solution
Manage all environments in projects maintained by Terraform as environments
config blocks on the launchdarkly_project
resource.