$30 off During Our Annual Pro Sale. View Details »

Strengthening your DevOps muscle

Kerim Satirli
PRO
April 07, 2022
2k

Strengthening your DevOps muscle

In this (short) talk, I look at Google Cloud's Declarative Export feature to easily on-board into HashiCorp Terraform.

This version of the talk was given at CLOUD ONAIR in April 2022.

Kerim Satirli
PRO

April 07, 2022
Tweet

Transcript

  1. Sr. Developer Advocate - Infrastructure he / him @ksatirli Kerim

    Satirli
  2. Design your Deployment

  3. Export your Resources TERMINAL > gcloud beta \ resource-config \

    bulk-export \ !"resource-format=terraform !"path=./ * beta *
  4. Codify your Resources resource "google_cloud_run_service" "devops_muscle" { name = "devops-muscle"

    location = "us-central1" template { spec { containers { image = "us-docker.pkg.dev/cloudrun/..." } } } traffic { percent = 100 latest_revision = true } ... CODE EDITOR
  5. Deploy your Resources TERMINAL > terraform apply Apply complete!

  6. Deploy your Resources TERMINAL > terraform apply Apply complete!

  7. None