cookbook:
  environment:
    public:
    - GCP_REGION=us-central1
    - GCP_ZONE=us-central1-a
    - ROOT_DOMAIN=example.invalid
    - ROOT_ZONE=example-invalid
    - AMI=debian-cloud/debian-11
    - BOOT_DISK_SIZE_GB=60
    - PORT_FROM=3000
    - BACKEND_TIMEOUT_SECONDS=7200
    - EXISTING_SSL_CERTIFICATE_NAME=
    secrets:
    - GOOGLE_CREDENTIALS
  pages:
  - page: 1
    name: GCP Virtual Machine Provisioning
    recipes:
    - recipe: provision-gcp-vm-via-script
      description: Provisions a new GCP Virtual Machine with the maintained Terraform
        workflow.
      form: []
      canonical_name: provision-gcp-vm-via-script
      now:
        steps:
        - step: 1
          image: lemc-gcp-terraform-debian:dev
          timeout: 10.minutes
          environment:
          - TERRAFORM_FUNCTION=apply
      in:
        duration: 12.hours
        steps:
        - step: 2
          name: destroy gcp vm after 12 hours
          image: lemc-gcp-terraform-debian:dev
          timeout: 10.minutes
          environment:
          - TERRAFORM_FUNCTION=destroy
    - recipe: destroy-gcp-vm-via-script
      description: Destroys the Terraform-managed GCP resources for this scope.
      form: []
      canonical_name: destroy-gcp-vm-via-script
      now:
        steps:
        - step: 1
          name: destroy gcp vm
          image: lemc-gcp-terraform-debian:dev
          timeout: 10.minutes
          environment:
          - TERRAFORM_FUNCTION=destroy
  name: GCP Terraform Debian VM
  canonical_name: lemc-gcp-terraform-debian
