Organiza tus páginas con colecciones
Guarda y categoriza el contenido según tus preferencias.
En este documento, se describe cómo usar la herramienta de automatización de implementación guiada en Workload Manager para descargar la infraestructura de Terraform y Ansible como código (IaC) y, luego, implementar tu carga de trabajo en Google Cloud.
Exporta Terraform y la IaC de Ansible
Durante la configuración, después de especificar los detalles de la implementación de tu
sistema, la herramienta de automatización de implementación guiada te proporciona
una opción para descargar la infraestructura de Terraform y Ansible
como código (IaC), en lugar de que Workload Manager implemente el sistema
automáticamente.
El archivo de Terraform descargado contiene variables según la configuración de tu implementación. Las siguientes variables descargan los archivos Terraform y Ansible
desde un repositorio propiedad de Google, cuando sea necesario:
source: Descarga los archivos de Terraform restantes.
package_location: Descarga las secuencias de comandos de Ansible.
Puedes personalizar los archivos de Terraform y modificar la configuración de la implementación.
Para obtener más información sobre cómo administrar y, luego, implementar archivos de Terraform en
Google Cloud, consulta la documentación de Terraform en Google Cloud .
Cualquier modificación en la IaC de Terraform o Ansible podría causar problemas durante el proceso de implementación o hacer que tu configuración ya no siga las prácticas recomendadas y las recomendaciones.
[[["Fácil de comprender","easyToUnderstand","thumb-up"],["Resolvió mi problema","solvedMyProblem","thumb-up"],["Otro","otherUp","thumb-up"]],[["Difícil de entender","hardToUnderstand","thumb-down"],["Información o código de muestra incorrectos","incorrectInformationOrSampleCode","thumb-down"],["Faltan la información o los ejemplos que necesito","missingTheInformationSamplesINeed","thumb-down"],["Problema de traducción","translationIssue","thumb-down"],["Otro","otherDown","thumb-down"]],["Última actualización: 2025-09-09 (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)."]]