More Info:

Ensure worker pool teardown policy is set

Risk Level

Low

Address

Operational Maturity, Reliability

Compliance Standards

CBP

Triage and Remediation

Remediation

To remediate the “Worker Pool Teardown Policy Should Be Set” misconfiguration in GCP using GCP console, please follow the below steps:

  1. Open the GCP Console and navigate to the Cloud Build page.

  2. Click on the “Worker pools” tab from the left-hand menu.

  3. Select the worker pool for which you want to set the teardown policy.

  4. Click on the “Edit” button at the top of the page.

  5. Scroll down to the “Teardown policy” section.

  6. Select the “Delete instances when the pool is idle” option.

  7. Click on the “Save” button at the bottom of the page.

  8. Verify that the teardown policy has been set correctly by checking the “Teardown policy” section for the worker pool.

By following these steps, you will have successfully remediated the “Worker Pool Teardown Policy Should Be Set” misconfiguration in GCP using GCP console.