set terraform.backend.bucket -> iac_google_cloud_terraform_status
This commit is contained in:
parent
c18319efbd
commit
66f737c1d6
@ -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"
|
||||
|
||||
@ -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 {
|
||||
|
||||
@ -1,3 +1,3 @@
|
||||
project_id: "cloudsvcworkspace"
|
||||
region: "asia-northeast1"
|
||||
bucket_name: "iac_gcp_terraform_state"
|
||||
bucket_name: "iac_google_cloud_terraform_status"
|
||||
|
||||
@ -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 {
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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 {
|
||||
|
||||
@ -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"
|
||||
|
||||
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user