Skip to content

Commit f2e3882

Browse files
committed
chore: test the final time
1 parent bbf6dff commit f2e3882

File tree

7 files changed

+17
-17
lines changed

7 files changed

+17
-17
lines changed

.github/workflows/create-backend.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ concurrency:
1010
cancel-in-progress: true
1111

1212
env:
13-
AWS_REGION: us-east-1
13+
AWS_REGION: ap-southeast-1
1414
AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
1515
AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
1616

.github/workflows/packer.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
with:
3030
aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }}
3131
aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
32-
aws-region: us-east-1
32+
aws-region: ap-southeast-1
3333

3434
- name: Build Packer AMI
3535
run: |

backend/main.tf

+3-3
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@ terraform {
77
}
88

99
backend "s3" {
10-
bucket = "devopslite-tf-state"
10+
bucket = "devopslite-terraform-state"
1111
key = "s3-backend/terraform.tfstate"
12-
region = "us-east-1"
12+
region = "ap-southeast-1"
1313
encrypt = true
1414
dynamodb_table = "devopslite-tf-state"
1515
}
1616
}
1717

1818
provider "aws" {
19-
region = "us-east-1"
19+
region = "ap-southeast-1"
2020
}
2121

2222
data "aws_caller_identity" "current" {}

backend/variables.tf

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
variable "region" {
22
description = "AWS region"
3-
default = "us-east-1"
3+
default = "ap-southeast-1"
44
type = string
55
}
66

env/dev/backend.tf

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ terraform {
1212
}
1313

1414
backend "s3" {
15-
bucket = "devopslite-tf-state"
15+
bucket = "devopslite-terraform-state"
1616
key = "dev/terraform.tfstate"
17-
region = "us-east-1"
17+
region = "ap-southeast-1"
1818
encrypt = true
1919
dynamodb_table = "devopslite-tf-state"
2020
}

env/dev/variables.tf

+6-6
Original file line numberDiff line numberDiff line change
@@ -12,19 +12,19 @@ variable "access_scope_type" {
1212

1313
variable "aws_region" {
1414
type = string
15-
default = "us-east-1"
15+
default = "ap-southeast-1"
1616
}
1717

1818
variable "bastion_ami_id" {
1919
description = "AMI ID for Bastion Host"
2020
type = string
21-
default = "ami-05576a079321f21f8" # Amazon Linux 2023 AMI
21+
default = "ami-0bd55ebedabddc3c0" # Amazon Linux 2023 AMI
2222
}
2323

2424
variable "bation_instance_type" {
2525
description = "Instance type for bastion host"
2626
type = string
27-
default = "t3.medium"
27+
default = "t3.small"
2828
}
2929

3030
variable "custom_ami_id" {
@@ -68,19 +68,19 @@ variable "node_capacity_type" {
6868
variable "node_group_desired_capacity" {
6969
description = "Desired number of nodes in the EKS node group"
7070
type = number
71-
default = 6
71+
default = 3
7272
}
7373

7474
variable "node_group_max_size" {
7575
description = "Maximum number of nodes in the EKS node group"
7676
type = number
77-
default = 10
77+
default = 4
7878
}
7979

8080
variable "node_group_min_size" {
8181
description = "Minimum number of nodes in the EKS node group"
8282
type = number
83-
default = 6
83+
default = 3
8484
}
8585

8686
variable "node_group_name" {

packer/build.pkr.hcl

+3-3
Original file line numberDiff line numberDiff line change
@@ -40,17 +40,17 @@ variable "aws_tag_project" {
4040

4141
variable "region" {
4242
type = string
43-
default = "us-east-1"
43+
default = "ap-southeast-1"
4444
}
4545

4646
variable "vpc_id" {
4747
type = string
48-
default = "vpc-0e915bc98927c4ba2"
48+
default = "vpc-074218bada64e2cd7"
4949
}
5050

5151
variable "public_subnet_id" {
5252
type = string
53-
default = "subnet-0b07a2f79d091f816"
53+
default = "subnet-08080c425d92b5689"
5454
}
5555

5656
variable "communicator" {

0 commit comments

Comments
 (0)