Skip to content

Collection of examples for using Terraform with Google Cloud Platform.

License

Notifications You must be signed in to change notification settings

jordansissel/terraform-google-examples

 
 

Repository files navigation

Google Cloud Platform Terraform module examples

Collection of examples for using Terraform with Google Cloud Platform.

Clone the repository:

git clone https://github.com/GoogleCloudPlatform/terraform-google-examples.git
cd terraform-google-examples
git submodule init && git submodule update

The example directories are all symlinked to their module subdirectories.

Change to the directory with the example:

cd EXAMPLE_NAME

Follow instructions in the README.md for the example.

Table of Contents

  1. example-lb
  2. example-lb-http
  3. example-lb-https-gke
  4. example-lb-http-nat-gateway
  5. example-lb-https-content
  6. example-lb-internal
  7. example-k8s-gce
  8. example-gke-nat-gateway
  9. example-sql-db
  10. example-vault-on-gce
  11. example-gke-k8s-helm
  12. example-gke-k8s-service-lb
  13. example-gke-k8s-multi-region

Figure 1. example-lb diagram

Modules used:

Figure 1. example-lb-http diagram

Modules used:

Figure 1. example-lb-https-gke diagram

Modules used:

Figure 1. example-lb-http-nat-gateway diagram

Modules used:

Figure 1. example-lb-https-content diagram

Modules used:

Figure 1. example-lb-internal diagram

Modules used:

Figure 1. example-k8s-gce-calico diagram

Modules used:

Figure 1. example-k8s-gce-kubenet diagram

Modules used:

Figure 1. example-gke-nat-gateway diagram

Modules used:

Figure 1. example-sql-db diagram

Modules used:

Figure 1. example-vault-on-gce diagram

Modules used:

Example showing how to deploy Helm releases to GKE from Terraform

Example showing how to create a Kubernetes Service tpye LoadBalancer to GKE from Terraform

Example showing how to create an L7 HTTP load balancer across multiple regional GKE clusters.

About

Collection of examples for using Terraform with Google Cloud Platform.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HCL 84.1%
  • Shell 15.9%