UPD: changed aws region to us-east-1

This commit is contained in:
KF 2024-05-30 14:46:28 +08:00
parent 6cec75393f
commit ed443204ef
Signed by: xpk
GPG Key ID: CD4FF6793F09AB86
3 changed files with 13 additions and 12 deletions

1
.gitignore vendored
View File

@ -33,3 +33,4 @@ bin/
*.tfstate *.tfstate
*.tfstate.backup *.tfstate.backup
.idea .idea
.terraform.lock.hcl

View File

@ -1,13 +1,13 @@
provider "aws" { provider "aws" {
region = "ap-east-1" region = "us-east-1"
default_tags { default_tags {
tags = { tags = {
ServiceProvider = "RackspaceTechnology" ServiceProvider = "RackspaceTechnology"
Environment = "Training" Environment = "Training"
Project = "Iac" Project = "Iac"
TerraformMode = "managed" TerraformMode = "managed"
TerraformDir = "${reverse(split("/", path.cwd))[1]}/${reverse(split("/", path.cwd))[0]}" TerraformDir = "${reverse(split("/", path.cwd))[1]}/${reverse(split("/", path.cwd))[0]}"
} }
} }
} }

View File

@ -1,13 +1,13 @@
provider "aws" { provider "aws" {
region = "ap-east-1" region = "us-east-1"
default_tags { default_tags {
tags = { tags = {
ServiceProvider = "RackspaceTechnology" ServiceProvider = "RackspaceTechnology"
Environment = "Training" Environment = "Training"
Project = "Iac" Project = "Iac"
TerraformMode = "managed" TerraformMode = "managed"
TerraformDir = "${reverse(split("/", path.cwd))[1]}/${reverse(split("/", path.cwd))[0]}" TerraformDir = "${reverse(split("/", path.cwd))[1]}/${reverse(split("/", path.cwd))[0]}"
} }
} }
} }