Catalog AdminATAUCatalog Manager untuk
Google Cloud organisasi yang terkait dengan Google Cloud project yang
mengaktifkan Katalog Layanan. Jika Anda tidak memiliki peran ini, hubungi
Administrator Organisasi untuk meminta akses.
Storage Admin untuk
Google Cloud project tempat Anda ingin membuat solusi. Jika konfigurasi Terraform Anda berada dalam project yang berbeda, Anda juga harus memiliki peran Storage Admin untuk project yang berisi konfigurasi Terraform Anda.
Cloud Build Editor
untuk Google Cloud project tempat Anda ingin membuat solusi.
Jika berencana menggunakan akun layanan Anda sendiri, Anda juga harus memiliki peran Pengguna Akun Layanan untuk project Google Cloud yang berisi akun layanan yang ingin Anda gunakan.
Jika Anda tidak memiliki peran ini, hubungi Administrator Organisasi untuk
meminta akses.
Jika Anda berencana menggunakan akun layanan Anda sendiri, akun layanan Anda harus memiliki
peran IAM berikut:
Storage Admin untuk
Google Cloud project tempat Anda ingin membuat solusi. Jika konfigurasi Terraform Anda berada dalam project yang berbeda, akun layanan Anda juga harus memiliki peran Storage Object Viewer untuk project yang berisi konfigurasi Terraform.
Logs Writer untuk
projectGoogle Cloud tempat Anda ingin membuat solusi.
Jika Anda tidak memiliki peran ini, hubungi Administrator Organisasi untuk
meminta akses.
Memperbarui solusi
Saat mengedit solusi di Katalog Layanan, Anda akan langsung memperbarui solusi tersebut di katalog tempat solusi tersebut ditetapkan. Mengupdate solusi tidak akan memengaruhi deployment yang ada, dan pengguna yang mengakses solusi setelah Anda mengupdatenya hanya dapat men-deploy versi terbaru.
Untuk solusi Terraform, jika Anda memperbarui konfigurasi, versi baru akan muncul
kepada pengguna di halaman Deployment pengguna di Google Cloud konsol. Pengguna dapat memilih untuk mengupdate deployment mereka ke versi terbaru.
Dalam daftar solusi, klik nama solusi untuk membuka halaman Solutions
Details.
Di menu atas, klik EDIT.
Lakukan update yang diperlukan pada solusi.
Secara opsional, Anda dapat memberikan akun layanan Anda sendiri dengan mengklik kotak centang di samping Pilih atau masukkan akun layanan Anda sendiri. Jika akun layanan Anda berada di project Google Cloud yang sama dengan tempat Anda membuat solusi, pilih Pilih akun layanan dari project saat ini, lalu pilih akun layanan Anda dari menu drop-down. Jika akun layanan Anda berada di project Google Cloud yang berbeda dari solusi Anda, pilih Masukkan email akun layanan dari project mana pun, lalu masukkan email akun layanan Anda.
Klik UPDATE.
Detail solusi yang diperbarui kini muncul di halaman Solutions Details.
Memperbarui konfigurasi Terraform
Solusi Terraform menggunakan Pembuatan Versi Objek Cloud Storage untuk mengelola update pada file konfigurasi. Untuk mengupdate file konfigurasi solusi Terraform, Anda memiliki opsi berikut:
Gunakan objek Cloud Storage lain yang berisi file konfigurasi baru. Untuk mengubah objek Cloud Storage untuk solusi, edit
detail solusi dan perbarui
Link to Terraform config dengan jalur URL ke objek baru. Setelah Anda memperbarui detail solusi, pengguna dapat langsung men-deploy versi terbaru.
Perbarui objek Cloud Storage solusi saat ini dengan konfigurasi versi baru. Untuk mengetahui langkah-langkah mengupload file konfigurasi baru,
buka Mengupload objek. Setelah memperbarui objek Cloud Storage solusi, Anda juga harus melihat dan menerapkan perubahan pada solusi di Service Catalog.
Melihat dan menerapkan versi konfigurasi yang lebih baru
Saat Service Catalog mendeteksi perubahan pada file konfigurasi Terraform,
Anda harus menerapkan versi terbaru untuk mengupdate solusi bagi pengguna.
Untuk melihat dan menerapkan versi terbaru konfigurasi Terraform:
Buka halaman Solusi Admin Katalog Layanan di konsolGoogle Cloud .
Buka halaman Solusi
Di tabel solusi, buka Status versi solusi, lalu klik
Versi baru tersedia.
Di halaman Solutions Details, klik Compare versions untuk mendownload dan
membandingkan konfigurasi versi saat ini dan versi terbaru. Setelah Anda
membandingkan versi, klik Close untuk kembali ke halaman Solution Details.
Klik Terapkan versi yang lebih baru.
Di bagian Sorotan versi baru, tambahkan deskripsi untuk memberi tahu pengguna tentang
update pada konfigurasi.
Secara opsional, Anda dapat memberikan akun layanan Anda sendiri dengan mengklik kotak centang di samping Pilih atau masukkan akun layanan Anda sendiri. Jika akun layanan Anda berada di project Google Cloud yang sama dengan tempat Anda membuat solusi, pilih Select a service account from the current project, lalu pilih akun layanan Anda dari menu drop-down. Jika akun layanan Anda berada di project Google Cloud yang berbeda dari solusi Anda, pilih Masukkan email akun layanan dari project mana pun, lalu masukkan email akun layanan Anda.
Klik Perbarui.
Menghapus solusi dari Katalog Layanan
Saat menghapus solusi, Anda akan menghapus solusi tersebut dari katalog terkait, dan pengguna Katalog Layanan tidak dapat lagi melihat atau meluncurkan solusi tersebut. Untuk solusi berbasis Deployment Manager, pengguna dapat terus mengakses dan menggunakan deployment yang ada.
[[["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-09-04 UTC."],[],[],null,["# Managing solutions\n==================\n\nIn this guide, you learn how to update and delete solutions in Service Catalog.\n\nIf you prefer to remove access to a solution, see [Removing a solution from a\ncatalog](/service-catalog/docs/assign-solutions#remove_solution_from_catalog).\n\nBefore you begin\n----------------\n\n- You must have the following\n [Identity and Access Management (IAM) roles](/iam/docs/understanding-roles):\n\n - [Catalog Admin](/service-catalog/docs/access-control#instance_admin_role) *OR* [Catalog Manager](/service-catalog/docs/access-control#catalog_manager_role) for the Google Cloud organization associated with the Google Cloud project which has Service Catalog enabled. If you don't have this role, contact your Organization Administrator to request access.\n - [Storage Admin](/iam/docs/understanding-roles#cloud-storage-roles) for the Google Cloud project where you want to create your solution. If your Terraform config is in a different project, you must also have the Storage Admin role for the project that contains your Terraform config.\n - [Cloud Build Editor](/build/docs/iam-roles-permissions#predefined_roles) for the Google Cloud project where you want to create the solution.\n\n If you plan to use your own service account, you must also have the\n [Service Account User](/iam/docs/understanding-roles#service-accounts-roles)\n role for the Google Cloud project that contains the service account that you\n plan to use.\n\n If you don't have these roles, contact your Organization Administrator to\n request access.\n- If you plan to use your own service account, your service account must have\n the following [IAM roles](/iam/docs/understanding-roles):\n\n - [Storage Admin](/iam/docs/understanding-roles#cloud-storage-roles) for the Google Cloud project where you want to create your solution. If your Terraform config is in a different project, your service account must also have the role [Storage Object Viewer](/iam/docs/understanding-roles#cloud-storage-roles) for the project containing the Terraform config.\n - [Logs Writer](/iam/docs/understanding-roles#logging-roles) for the Google Cloud project where you want to create your solution.\n\n If you don't have these roles, contact your Organization Administrator to\n request access.\n\nUpdate a solution\n-----------------\n\nWhen you edit a solution in Service Catalog, you immediately update\nthe solution in any catalogs where it's assigned. Updating a solution doesn't\naffect existing deployments, and users who access the solution after you update\nit can only deploy the latest version.\n\nFor Terraform solutions, if you update the configuration, a new version appears\nto users on the user's **Deployments** page in the Google Cloud console. Users can\nchoose to update their deployment to the latest version.\n\nEdit solution details\n---------------------\n\nTo edit and update a solution:\n\n1. Go to the Service Catalog Admin [**Solutions** page](https://console.cloud.google.com/project/_/catalog/admin/solutions) in the Google Cloud console. \n [Go to the Solutions page](https://console.cloud.google.com/project/_/catalog/admin/solutions)\n2. Click **Select** to choose the Google Cloud project.\n3. In the list of solutions, click the solution name to open the **Solutions\n Details** page.\n4. In the top menu, click **EDIT**.\n5. Make any needed updates to the solution.\n6. Optionally, you can provide your own service account by clicking the\n checkbox next to **Select or enter your own service account** . If your\n service account is located in the same Google Cloud project where you're\n creating your solution, select\n **Select a service account from the current project** , and select your\n service account from the drop-down menu. If your service account is located\n in a different Google Cloud project from your solution, select\n **Enter a service account email from any project**, and enter the email of\n your service account.\n\n | **Note:** If you don't provide your own service account, Service Catalog uses the default Cloud Build service account settings. For more information, see [Cloud Build Service Account Change](/build/docs/cloud-build-service-account-updates).\n7. Click **UPDATE**.\n\nThe updated solution details now appear on the **Solutions Details** page.\n\nUpdate a Terraform configuration\n--------------------------------\n\nTerraform solutions use Cloud Storage's [Object Versioning](/storage/docs/object-versioning)\nto manage updates to configuration files. To update the configuration file of a\nTerraform solution, you have the following options:\n\n- Use a different Cloud Storage object that contains a new configuration\n file. To change the Cloud Storage object for a solution, [edit the\n solution details](#edit_solution_details) and update the\n **Link to Terraform config** with the URL path to the new object. After you\n update the solution details, users can immediately deploy the latest version.\n\n- Update the solution's current Cloud Storage object with a new\n version of the configuration. For steps to upload a new configuration file,\n visit [Uploading objects](/storage/docs/uploading-objects). After you update\n the solution's Cloud Storage object, you must also [view and apply the\n changes](#apply_version) to the solution in Service Catalog.\n\n### View and apply a newer version of a configuration\n\nWhen Service Catalog detects changes to a Terraform configuration file,\nyou must apply the latest version to update the solution for your users.\n\nTo view and apply the latest version of a Terraform configuration:\n\n1. Go to the Service Catalog Admin **Solutions** page in the\n Google Cloud console.\n\n [Go to the Solutions page](https://console.cloud.google.com/project/_/catalog/admin/solutions)\n\n2. In the table of solutions, go to the solution's **Version status** and click\n **New version available**.\n\n3. On the **Solutions Details** page, click **Compare versions** to download and\n compare the current and latest version of the configuration. After you\n compare versions, click **Close** to return to the **Solution Details** page.\n\n4. Click **Apply newer version**.\n\n5. Under **New version highlights**, add a description to tell users about the\n updates to the configuration.\n\n6. Optionally, you can provide your own service account by clicking the checkbox\n next to **Select or enter your own service account** . If your service account\n is located in the same Google Cloud project where you're creating your\n solution, select **Select a service account from the current project** , and\n select your service account from the drop-down menu. If your service account\n is located in a different Google Cloud project from your solution, select\n **Enter a service account email from any project**, and enter the email of\n your service account.\n\n | **Note:** If you don't provide your own service account, Service Catalog uses the default Cloud Build service account settings. For more information, see [Cloud Build Service Account Change](/build/docs/cloud-build-service-account-updates).\n7. Click **Update**.\n\nDelete solutions from Service Catalog\n-------------------------------------\n\nWhen you delete a solution, you remove the solution from any associated catalogs,\nand your Service Catalog users can no longer view or launch the solution. For Deployment Manager-based solutions, users can continue to access\nand use their existing deployments.\n\nIf you prefer to keep the solution in Service Catalog, you can [remove the\nsolution from a catalog](/service-catalog/docs/assign-solutions#remove_solution_from_catalog).\n\nTo delete one or more solutions:\n\n1. Go to the Service Catalog Admin **Solutions** page in the Google Cloud console. \n [Go to the Solutions page](https://console.cloud.google.com/project/_/catalog/admin/solutions)\n2. Click **Select** to choose the Google Cloud project.\n3. In the list of solutions, check the box next to each solution you want to delete.\n4. With the solution(s) selected, in the top menu, click **DELETE**.\n5. Click **CONFIRM**.\n\nThe solution(s) are deleted from Service Catalog.\n\nNext steps\n----------\n\n- [Assign the solution to a catalog](/service-catalog/docs/assign-solutions)."]]