Pada 15 September 2026, semua lingkungan Cloud Composer 1 dan Cloud Composer 2 versi 2.0.x akan mencapai akhir masa pakainya yang direncanakan, dan Anda tidak akan dapat menggunakannya. Sebaiknya rencanakan migrasi ke Cloud Composer 3.
LOCATION dengan region tempat lingkungan tersebut berada.
Hapus bucket lingkungan Anda. Cloud Composer tidak menghapus bucket lingkungan secara otomatis.
gcloudstoragermgs://BUCKET_NAME--recursive
Ganti:
BUCKET_NAME dengan nama bucket lingkungan Anda. Misalnya,
bucket ini dapat diberi nama
us-central1-example-environ-c1616fe8-bucket.
API
Untuk menghapus lingkungan, buat permintaan API environments.delete
dengan ID lingkungan.
Terraform
Untuk menghapus lingkungan menggunakan Terraform, hapus konfigurasi Cloud Composer dari konfigurasi resource secara keseluruhan dan jalankan terraform apply.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Sulit dipahami","hardToUnderstand","thumb-down"],["Informasi atau kode contoh salah","incorrectInformationOrSampleCode","thumb-down"],["Informasi/contoh yang saya butuhkan tidak ada","missingTheInformationSamplesINeed","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-08-04 UTC."],[[["\u003cp\u003eThis guide outlines the process for deleting a Cloud Composer environment, detailing steps for both console and command-line interface (gcloud) methods.\u003c/p\u003e\n"],["\u003cp\u003eDeleting a Cloud Composer environment does not automatically remove its associated Cloud Storage bucket or Cloud Logging logs, which must be deleted separately to avoid ongoing charges.\u003c/p\u003e\n"],["\u003cp\u003eBefore deleting the environment's bucket, it is important to note that it will also remove all contained objects, such as DAGs and plugins, with limited or no possibility of recovery.\u003c/p\u003e\n"],["\u003cp\u003eUsers employing alerting policies for environment monitoring should delete those policies prior to deleting the Cloud Composer environment.\u003c/p\u003e\n"],["\u003cp\u003eThere are alternative methods for deleting an environment, using the API or Terraform, which have the same considerations regarding the deletion of the associated Cloud Storage bucket.\u003c/p\u003e\n"]]],[],null,[]]