Skip to content

aslupin/template-terraform-modules-gke-and-cloudrun

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Template for creating infrastructure as code (IaC) with Terraform ✨

this template will use for project that apply with microservice and require GCP as provider

Prerequisite

  • Terraform CLI
  • Create project on GCP
  • Create service account on GCP
  • Enable GKE on GCP
  • Enable Cloud run on GCP
  • Create Terraform Cloud as a backend for storing state of infrastructure

Environment

Production

Terraform configuration to create GKE resource on GCP provider

Staging

Terraform configuration tp create cloud run on GCP provider

Usage

terraform init
terraform plan

terraform apply -auto-approve

Git Ignore for Terraform

following ignore files on Terraform Gitignore

About

personal template for using IaC create GKE and cloud run

Resources

Stars

Watchers

Forks