Download and deploy Terraform

If you have your own deployment tools and workflows, you can download the application template design as Terraform files, including the following:

  • main.tf: Infrastructure code that includes a module for each component in the template.
  • outputs.tf: Exposes information about infrastructure components that are deployed.
  • variables.tf: Declares name, type, and description for variables used in the main.tf file.
  • input.tfvars: Defines values for variables used in the main.tf file.

For background information, see Overview of Terraform on Google Cloud.

If you don't have your own deployment tools and workflows, see Deploy an application from the Google Cloud console.

Before you begin

You must have one of the following roles:

  • Application Admin (roles/designcenter.applicationadmin)
  • Application Operator (roles/designcenter.applicationoperator)

Export Terraform code

To export your template design as Terraform files, do the following:

  1. From the left menu, click Templates.

    Go to Templates

  2. Click the Template ID that you want to export.

  3. Click Get Code. A zip file is downloaded to your local computer. You can deploy the application using your own deployment tools and workflows.