Skip to content

Instantly share code, notes, and snippets.

@esenthil2018
Created January 10, 2022 21:52
Show Gist options
  • Save esenthil2018/e566cc7cea8d8d3c7e25b8f48d72277b to your computer and use it in GitHub Desktop.
Save esenthil2018/e566cc7cea8d8d3c7e25b8f48d72277b to your computer and use it in GitHub Desktop.
terraform {
required_version = ">= 0.14"
required_providers {
google = "~> 3.6"
}
}
provider "google" {
project = var.project_id
}
data "google_project" "project" {
project_id = var.project_id
}
locals {
bucket_type = "REGIONAL"
region = var.region == null ? var.subnet_region : var.region
}
data "google_compute_zones" "available" {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment