Skip to content

Commit

Permalink
feat change region to us-east-2
Browse files Browse the repository at this point in the history
  • Loading branch information
smerle33 committed Oct 14, 2024
1 parent 734b76b commit 85dc2b4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
3 changes: 2 additions & 1 deletion locals.tf
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
locals {
cluster_name = "aws-sponso"
aws_account_id = "326712726440"
region = "us-east-1a"
region = "us-east-2"
our_az = format("${local.region}%s", "b")
common_tags = {
"scope" = "terraform-managed"
"repository" = "jenkins-infra/terraform-aws-sponsorship"
Expand Down
2 changes: 1 addition & 1 deletion providers.tf
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
provider "aws" {
region = "us-east-1"
region = local.region
# profile = var.aws_profile
assume_role {
role_arn = "arn:aws:iam::326712726440:role/infra-developer"
Expand Down
2 changes: 1 addition & 1 deletion vpc.tf
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module "vpc" {
manage_default_security_group = false

# only one zone, no need for multiple availability zones
azs = [local.region]
azs = [local.our_az]

# only private subnets for security (to control allowed outbound connections)
private_subnets = [ # only one zone
Expand Down

0 comments on commit 85dc2b4

Please sign in to comment.