Stay organized with collections
Save and categorize content based on your preferences.
This document describes how to use the Guided Deployment Automation tool
in Workload Manager to download the Terraform and Ansible infrastructure
as code (IaC) and deploy your workload on Google Cloud.
Export Terraform and Ansible IaC
During the configuration, after you specify the deployment details for your
system, the Guided Deployment Automation tool provides you with
an option to download the Terraform and Ansible infrastructure
as code (IaC), instead of Workload Manager deploying the system
automatically.
The downloaded Terraform file contains variables based on the configuration of
your deployment. The following variables download the Terraform and Ansible files
from a Google-owned repository, when required:
source: downloads the remaining Terraform files.
package_location: downloads the Ansible scripts.
You can customize the Terraform files and modify the deployment configuration.
For more information about managing and deploying Terraform files in
Google Cloud, see Terraform on Google Cloud documentation.
Any modifications to the Terraform or Ansible IaC might cause issues during the
deployment process or cause your configuration to no longer follow the best
practices and recommendations.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 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)."]]