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
Stop Unravel.
<Unravel installation directory>
/unravel/manager stopRun 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
Apply the changes.
<Unravel installation directory>
/unravel/manager config applyStart 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.
Modify the
input.tfvars
file and remove the designated projects.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