Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Terraform Modules for GCP Infrastructure

Avatar for Pradeep Pradeep
February 06, 2020

Terraform Modules for GCP Infrastructure

Avatar for Pradeep

Pradeep

February 06, 2020

Other Decks in Programming

Transcript

  1. Terraform Modules for GCP Infrastructure Pradeep Bhadani Founder, Cloud Native

    Technologies https://cntek.io https://pbhadani.com https://linkedin.com/in/pradeepbhadani
  2. About Me IT Consultant with 8+ years of experience. Expertise

    • Big Data • Cloud (GCP & AWS) • DevOps Blog: pbhadani.com Cloud Native Technologies
  3. Terraform Terraform allows to build, change and version our infrastructure

    in an easy and efficient way. terraform.io Cloud Native Technologies
  4. Terraform Lifecycle Cloud Native Technologies Init terraform init Plan terraform

    plan Apply terraform apply Destroy terraform destroy
  5. Terraform Modules • Collection of different Terraform resources • Allows

    to describe infrastructure architecture/blueprints ◦ Easy to understand infrastructure • Re-usable - helps to avoid code duplication • Collaborative development • Helps to get started quickly • Versioning Cloud Native Technologies
  6. Module Sources • Local Path • Github • Bitbucket •

    Terraform Registry • HTTP URLs • S3 Bucket • GCS Bucket Reference: https://www.terraform.io/docs/modules/sources.html Cloud Native Technologies
  7. Cloud Infrastructure Cloud Native Technologies Compute Network Bucket GKE Bigquery

    Datastore Project IAM Google Cloud Platform GCP Project GCP Project Network BigQuery Compute App