Skip to main content

Home

Disintegrating GCP projects with Unravel

Run the following steps to disintegrate the GCP projects with Unravel. You can eliminate the resources either entirely or partially.

Removing external Terraform-created projects in Unravel
  1. Stop Unravel.

    <Unravel installation directory>/unravel/manager stop
  2. Run the following command to remove the project.

    • Single project

      <Unravel_installation_path>/unravel/manager config bigquery remove <project_id>
    • Multiple projects

      <Unravel_installation_path>/opt/unravel/manager config bigquery remove --batch <path to the designated project file>

      For example: /opt/unravel/manager config bigquery remove --batch /home/unravel/test

  3. Apply the changes.

    <Unravel installation directory>/unravel/manager config apply
  4. Start Unravel.

    <Unravel installation directory>/unravel/manager start
Removing Unravel resources from GCP projects

Run the following steps to remove the Unravel resources from the monitored projects.

  1. Modify the input.tfvars file and remove the designated projects.

  2. Re-run the Terraform

    terraform apply --var-file=input.tfvars
Removing all Terraform-created resources

Run the following commands to remove all Terraform-created resources.

cd unravel-terraform-scripts/bigquery/
terraform destroy --var-file=input.tfvars