diff --git a/AWS/Labs/09-backend/main.tf b/AWS/Labs/09-backend/main.tf index 6e2013b..74c6b4c 100644 --- a/AWS/Labs/09-backend/main.tf +++ b/AWS/Labs/09-backend/main.tf @@ -8,8 +8,8 @@ provider "aws" { terraform { backend "s3" { - bucket = "mybackend99" - key = "hr/app1/network/terraform.tfstate" + bucket = "" + key = "hr/network/terraform.tfstate" region = "us-east-1" } } diff --git a/Azure/Labs/09-backend/main.tf b/Azure/Labs/09-backend/main.tf index e089a8d..70178da 100644 --- a/Azure/Labs/09-backend/main.tf +++ b/Azure/Labs/09-backend/main.tf @@ -13,7 +13,7 @@ terraform { resource_group_name = "mybackendrg99" storage_account_name = "mybackendsa99" container_name = "mybackend99" - key = "hr.app1.network.terraform.tfstate" + key = "hr.network.terraform.tfstate" } } resource "azurerm_resource_group" "rg" { diff --git a/GCP/Labs/09-backend/main.tf b/GCP/Labs/09-backend/main.tf index bc77160..59a3655 100644 --- a/GCP/Labs/09-backend/main.tf +++ b/GCP/Labs/09-backend/main.tf @@ -1,13 +1,13 @@ provider "google" { # credentials = "${file("account.json")}" # project = "my-project-id" - # region = "us-central1" + region = "us-central1" } # Change name of bucket and Create it in your account terraform { backend "gcs" { - bucket = "mybackend99" - prefix = "hr/app1/network" + bucket = "" + prefix = "hr/network" } } resource "google_compute_network" "vpc_network" {