From ed443204efdff987590d2d67991e313289b9f168 Mon Sep 17 00:00:00 2001 From: KF Date: Thu, 30 May 2024 14:46:28 +0800 Subject: [PATCH] UPD: changed aws region to us-east-1 --- .gitignore | 1 + SecurityIdentityCompliance/Exercise1/provider.tf | 12 ++++++------ SecurityIdentityCompliance/Exercise2/provider.tf | 12 ++++++------ 3 files changed, 13 insertions(+), 12 deletions(-) diff --git a/.gitignore b/.gitignore index c1ec57e..f5dff8f 100644 --- a/.gitignore +++ b/.gitignore @@ -33,3 +33,4 @@ bin/ *.tfstate *.tfstate.backup .idea +.terraform.lock.hcl diff --git a/SecurityIdentityCompliance/Exercise1/provider.tf b/SecurityIdentityCompliance/Exercise1/provider.tf index b6ed192..aa5c309 100644 --- a/SecurityIdentityCompliance/Exercise1/provider.tf +++ b/SecurityIdentityCompliance/Exercise1/provider.tf @@ -1,13 +1,13 @@ provider "aws" { - region = "ap-east-1" + region = "us-east-1" default_tags { tags = { - ServiceProvider = "RackspaceTechnology" - Environment = "Training" - Project = "Iac" - TerraformMode = "managed" - TerraformDir = "${reverse(split("/", path.cwd))[1]}/${reverse(split("/", path.cwd))[0]}" + ServiceProvider = "RackspaceTechnology" + Environment = "Training" + Project = "Iac" + TerraformMode = "managed" + TerraformDir = "${reverse(split("/", path.cwd))[1]}/${reverse(split("/", path.cwd))[0]}" } } } diff --git a/SecurityIdentityCompliance/Exercise2/provider.tf b/SecurityIdentityCompliance/Exercise2/provider.tf index b6ed192..aa5c309 100644 --- a/SecurityIdentityCompliance/Exercise2/provider.tf +++ b/SecurityIdentityCompliance/Exercise2/provider.tf @@ -1,13 +1,13 @@ provider "aws" { - region = "ap-east-1" + region = "us-east-1" default_tags { tags = { - ServiceProvider = "RackspaceTechnology" - Environment = "Training" - Project = "Iac" - TerraformMode = "managed" - TerraformDir = "${reverse(split("/", path.cwd))[1]}/${reverse(split("/", path.cwd))[0]}" + ServiceProvider = "RackspaceTechnology" + Environment = "Training" + Project = "Iac" + TerraformMode = "managed" + TerraformDir = "${reverse(split("/", path.cwd))[1]}/${reverse(split("/", path.cwd))[0]}" } } }