--- title: "Manage an existing Terraform deployment" slug: "manage-an-existing-terraform-deployment" updated: 2026-11-05T09:45:55Z published: 2026-11-05T09:45:55Z canonical: "docs.zesty.co/manage-an-existing-terraform-deployment" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.zesty.co/llms.txt > Use this file to discover all available pages before exploring further. # Manage an existing Terraform deployment Update an existing Zesty deployment or remove its Terraform-managed resources. ### Update an existing deployment To add or remove a product, update the existing module block and run Terraform again. For example, add` cm = {}` to an existing management-account Compute Optimization configuration: ```plaintext module "zesty_account" {  source  = "zesty-co/zesty-account/aws"  version = "~> 0.1.1"  account_type = "management"  cm      = {}  kompass = {} } ``` Do not create a second account module block for the same AWS account. ### Remove Terraform-managed onboarding Before removing production onboarding, coordinate with Zesty Support to confirm product impact and offboarding requirements. Run: `terraform destroy` Destroying the module removes Terraform-managed AWS resources and requests removal of the Zesty Terraform registration. It does not delete a customer-owned CUR supplied with: ```plaintext cur = {  mode = "existing" } ```