Skip to content

Instantly share code, notes, and snippets.

@Maurifc
Created September 1, 2022 01:06
Show Gist options
  • Save Maurifc/812f519413bb9808b1577d6a70fc5d1b to your computer and use it in GitHub Desktop.
Save Maurifc/812f519413bb9808b1577d6a70fc5d1b to your computer and use it in GitHub Desktop.
Terraform - provider.tf boilerplate
#----------------------------------------------------------------------------
# PROVIDERS
#----------------------------------------------------------------------------
terraform {
required_version = "1.2.7"
required_providers {
google = {
source = "hashicorp/google"
version = "4.32"
}
}
backend "gcs" {
bucket = "terraform-td-states"
prefix = "/"
}
}
provider "google" {
project = var.project
region = var.region
zone = var.zone
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment