Export and deploy

The Guided Deployment Automation tool in Workload Manager helps you deploy workloads on Google Cloud. The export option in the tool lets you review and customize the generated infrastructure as code (IaC) before deploying the workload.

This document describes how to download the Terraform and Ansible configuration files 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.

Download Terraform for deployment

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.