SaFi Bank Space : Terraform Workspace Types

We have 2 types of workspaces. Infra and Config, which each serve a different purpose. Which workspace type is generated is chosen in this file.

In this example you can see that VPN has both Infra and Config workspaces.

projects:
  vpn:
    subprojects:
      - infra
      - config

Infra:

Infra serves to provision the necessary resources, for example what fits here are VMs,GKE Clusters, Postgress databases and everything necessary to provision those resources.

Config:

Config serves to configure already provisioned resources, or resources which we did not provision. The example could be Okta, Firewall Rules at Cloudflare etc.