Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Dokumen ini menjelaskan cara menggunakan alat Guided Deployment Automation di Workload Manager untuk mendownload infrastruktur Terraform dan Ansible sebagai kode (IaC) dan men-deploy beban kerja Anda di Google Cloud.
Mengekspor IaC Terraform dan Ansible
Selama konfigurasi, setelah Anda menentukan detail deployment untuk sistem, alat Guided Deployment Automation akan memberi Anda opsi untuk mendownload infrastruktur Terraform dan Ansible sebagai kode (IaC), bukan Workload Manager yang men-deploy sistem secara otomatis.
File Terraform yang didownload berisi variabel berdasarkan konfigurasi deployment Anda. Variabel berikut mendownload file Terraform dan Ansible
dari repositori milik Google, jika diperlukan:
source: mendownload file Terraform yang tersisa.
package_location: mendownload skrip Ansible.
Anda dapat menyesuaikan file Terraform dan mengubah konfigurasi deployment.
Untuk informasi selengkapnya tentang cara mengelola dan men-deploy file Terraform diGoogle Cloud, lihat dokumentasi Terraform di Google Cloud .
Setiap modifikasi pada IaC Terraform atau Ansible dapat menyebabkan masalah selama
proses deployment atau menyebabkan konfigurasi Anda tidak lagi mengikuti praktik
terbaik dan rekomendasi.
[[["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,["# Export and deploy\n\nThis document describes how to use the Guided Deployment Automation tool\nin Workload Manager to download the Terraform and Ansible infrastructure\nas code (IaC) and deploy your workload on Google Cloud.\n\nExport Terraform and Ansible IaC\n--------------------------------\n\nDuring the configuration, after you specify the deployment details for your\nsystem, the Guided Deployment Automation tool provides you with\nan option to download the Terraform and Ansible infrastructure\nas code (IaC), instead of Workload Manager deploying the system\nautomatically.\n\nThe downloaded Terraform file contains variables based on the configuration of\nyour deployment. The following variables download the Terraform and Ansible files\nfrom a Google-owned repository, when required:\n\n- `source`: downloads the remaining Terraform files.\n- `package_location`: downloads the Ansible scripts.\n\nYou can customize the Terraform files and modify the deployment configuration.\nFor more information about managing and deploying Terraform files in\nGoogle Cloud, see [Terraform on Google Cloud documentation](/docs/terraform).\n\nAny modifications to the Terraform or Ansible IaC might cause issues during the\ndeployment process or cause your configuration to no longer follow the best\npractices and recommendations.\n| **Note** :\n|\n| - Workload Manager does not register any workloads deployed on your own using Terraform and it does not list these deployments on the Deployments dashboard. For these reasons, we recommend that only advanced users use the Download feature.\n| - When you use the downloaded Terraform file to deploy the SAP workload, Workload Manager does not use the service account you attached to the deployment. Workload Manager uses the credentials of the user to authenticate and to run the Terraform file. For more information about service account attachment, see [Service accounts](/workload-manager/docs/deploy/prerequisites#service-accounts)."]]