docs

Cleaning Up

How to deprovision everything you created with Plural

Cleaning Up Your Environment

If you were testing and want to clean up your environment, there are two steps:

  • Remove any infrastructure managed by Plural. This should involve:
    • Delete the Plural Stacks you set up. Be sure to do this via a GitOps process, not the UI, as our operator will recreate the stack if you do not.
    • Delete the services that might also spawn resources, especially those that create load balancers.
  • This is often doable by reverting the PRs we generate to provision that infra.
  • From there, run plural down or plural down --cloud if you were using Plural Cloud.

The plural down command

The plural down command is a simple wrapper around what is effectively:

cd terraform/mgmt && terraform init && terraform destroy

If for whatever reason it isn't working for you, you can always fall back to running Terraform manually.