29 lines
580 B
Terraform
29 lines
580 B
Terraform
terraform {
|
|
required_version = ">= 1.8.0"
|
|
|
|
required_providers {
|
|
google = {
|
|
source = "hashicorp/google"
|
|
version = "~> 6.0"
|
|
}
|
|
}
|
|
|
|
backend "s3" {
|
|
key = "dev_blog/terraform.tfstate"
|
|
region = "auto"
|
|
|
|
skip_credentials_validation = true
|
|
skip_metadata_api_check = true
|
|
skip_region_validation = true
|
|
skip_requesting_account_id = true
|
|
skip_s3_checksum = true
|
|
use_path_style = true
|
|
}
|
|
}
|
|
|
|
provider "google" {
|
|
project = var.gcp_project_id
|
|
region = var.gcp_region
|
|
zone = var.gcp_zone
|
|
}
|