{"repo":"Cyclenerd/poweroff-google-cloud-cap-billing","free":true,"listed":false,"github":"https://github.com/Cyclenerd/poweroff-google-cloud-cap-billing","clone":"git clone https://github.com/Cyclenerd/poweroff-google-cloud-cap-billing.git","description":"📴 Automating cost control by capping Google Cloud billing","language":"HCL","stars":89,"topics":["billing","cloud-billing-api","cloud-computing","finops","google","google-cloud","google-cloud-platform","cost-management","infrastructure-as-code","gcp"],"license":"Apache-2.0","category":"auth-billing-email","readme_excerpt":"Automatic cost control by capping Google Cloud billing With this repo you can cap costs and stop usage for a Google Cloud project by disabling Cloud Billing automatically. Removing the billing account from a project will cause all Google Cloud services in the project to terminate, including free-tier services. You might want cap costs because you have a hard limit on how much money you can spend on Google Cloud. This is typical for students, researchers, or developers working in sandbox environments. In these cases you want to stop the spending and might be willing to shutdown all your Google Cloud services and usage when your budget limit is reached. Warning When you remove Cloud Billing from your project, all resources are shut down. The resources may not shut down gracefully and be irretrievably deleted. There is no gracefully recovery if you disable Cloud Billing. You can re-enable Cloud Billing, but there is no guarantee that the service will be restored and manual configuration is required. Everything is based on the original Google Cloud documentation. This repo has the advantage that everything is deployed automatically thanks to Terraform. You don't have to set up all the steps each time for additional projects. It also creates a separate custom role that can only unlink the billing account from the project, but not enable it. This has the advantage that only a billing administrator can enable the billing back and not the project itself. Recommendation: If you have a","default_branch":null,"files":null,"tree":[],"storefront":"/r/Cyclenerd","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Cyclenerd/poweroff-google-cloud-cap-billing/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}