Google uses AI technology to translate content into your preferred language. AI translations can contain errors.
匯出及部署
透過集合功能整理內容
你可以依據偏好儲存及分類內容。
您可以透過 Workload Manager 內建的 Guided Deployment Automation 工具,在 Google Cloud部署工作負載。您可以使用工具中的匯出選項,在部署工作負載前,先檢查及自訂產生的基礎架構即程式碼 (IaC)。
本文說明如何下載 Terraform 和 Ansible 設定檔,並在 Google Cloud上部署工作負載。
設定期間,指定系統的部署詳細資料後,Guided Deployment Automation 工具會提供下載 Terraform 和 Ansible 基礎架構即程式碼 (IaC) 的選項,而不是由 Workload Manager 自動部署系統。
下載的 Terraform 檔案包含根據部署作業設定的變數。如有需要,下列變數會從 Google 擁有的存放區下載 Terraform 和 Ansible 檔案:
source:下載其餘 Terraform 檔案。
package_location:下載 Ansible 指令碼。
您可以自訂 Terraform 檔案,並修改部署設定。
如要進一步瞭解如何在Google Cloud中管理及部署 Terraform 檔案,請參閱 Terraform on Google Cloud 說明文件。
如果修改 Terraform 或 Ansible IaC,可能會在部署程序中造成問題,或導致設定不再符合最佳做法和建議。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2026-07-04 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2026-07-04 (世界標準時間)。"],[],[]]