set terraform.backend.bucket -> iac_google_cloud_terraform_status

This commit is contained in:
Haitao Pan 2024-01-27 15:30:34 +08:00
parent c18319efbd
commit 66f737c1d6
8 changed files with 8 additions and 8 deletions

View File

@ -1,6 +1,6 @@
region: "cloudsvcworkspace"
project_id: "cloudsvcsandbox"
bucket_name: "iac_gcp_terraform_state"
bucket_name: "iac_google_cloud_terraform_status"
firewall_rules:
- name: allow-ingress
network: "dev"

View File

@ -5,7 +5,7 @@ provider "google" {
terraform {
backend "gcs" {
bucket = "iac_gcp_terraform_state" # GCS
bucket = "iac_google_cloud_terraform_status" # GCS
prefix = "firewall/" #
}
required_providers {

View File

@ -1,3 +1,3 @@
project_id: "cloudsvcworkspace"
region: "asia-northeast1"
bucket_name: "iac_gcp_terraform_state"
bucket_name: "iac_google_cloud_terraform_status"

View File

@ -5,7 +5,7 @@ provider "google" {
terraform {
backend "gcs" {
bucket = "iac_gcp_terraform_state" # GCS
bucket = "iac_google_cloud_terraform_status" # GCS
prefix = "key_pair/" #
}
required_providers {

View File

@ -2,4 +2,4 @@ project_id: "cloudsvcworkspace"
region: "asia-northeast1"
vpc_cidr: "10.0.0.0/16"
region: "asia-northeast1"
bucket_name: "iac_gcp_terraform_state"
bucket_name: "iac_google_cloud_terraform_status"

View File

@ -5,7 +5,7 @@ provider "google" {
terraform {
backend "gcs" {
bucket = "iac_gcp_terraform_state" # GCS
bucket = "iac_google_cloud_terraform_status" # GCS
prefix = "vpc/" #
}
required_providers {

View File

@ -1,6 +1,6 @@
region: "asia-northeast1"
project_id: "cloudsvcworkspace"
bucket_name: "iac_gcp_terraform_state"
bucket_name: "iac_google_cloud_terraform_status"
instances:
- name: "monitor"
type: "e2-standard-4"

View File

@ -5,7 +5,7 @@ provider "google" {
terraform {
backend "gcs" {
bucket = "iac_gcp_terraform_state" # GCS
bucket = "iac_google_cloud_terraform_status" # GCS
prefix = "vhosts/" #
}
required_providers {