Mantenha tudo organizado com as coleções
Salve e categorize o conteúdo com base nas suas preferências.
Este documento descreve como usar a ferramenta de automação de implantação guiada
no Workload Manager para fazer o download da infraestrutura como código (IaC) do Terraform e do Ansible
e implantar sua carga de trabalho no Google Cloud.
Exportar a IaC do Terraform e do Ansible
Durante a configuração, depois de especificar os detalhes de implantação do
sistema, a ferramenta de automação de implantação guiada oferece
a opção de fazer o download da infraestrutura do Terraform e do Ansible
como código (IaC), em vez de implantar o sistema
automaticamente no Workload Manager.
O arquivo do Terraform salvo contém variáveis com base na configuração da sua implantação. As variáveis a seguir fazem o download dos arquivos do Terraform e do Ansible
de um repositório do Google, quando necessário:
source: faz o download dos arquivos restantes do Terraform.
package_location: faz o download dos scripts do Ansible.
É possível personalizar os arquivos do Terraform e modificar a configuração da implantação.
Para mais informações sobre como gerenciar e implantar arquivos do Terraform no
Google Cloud, consulte a documentação do Terraform sobre Google Cloud .
Qualquer modificação no IaC do Terraform ou do Ansible pode causar problemas durante o
processo de implantação ou fazer com que a configuração não siga mais as práticas
recomendadas.
[[["Fácil de entender","easyToUnderstand","thumb-up"],["Meu problema foi resolvido","solvedMyProblem","thumb-up"],["Outro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Informações incorretas ou exemplo de código","incorrectInformationOrSampleCode","thumb-down"],["Não contém as informações/amostras de que eu preciso","missingTheInformationSamplesINeed","thumb-down"],["Problema na tradução","translationIssue","thumb-down"],["Outro","otherDown","thumb-down"]],["Última atualização 2025-09-02 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)."]]