File tree 7 files changed +17
-17
lines changed
7 files changed +17
-17
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ concurrency:
10
10
cancel-in-progress : true
11
11
12
12
env :
13
- AWS_REGION : us-east -1
13
+ AWS_REGION : ap-southeast -1
14
14
AWS_ACCESS_KEY_ID : ${{ secrets.AWS_ACCESS_KEY_ID }}
15
15
AWS_SECRET_ACCESS_KEY : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
16
16
Original file line number Diff line number Diff line change 29
29
with :
30
30
aws-access-key-id : ${{ secrets.AWS_ACCESS_KEY_ID }}
31
31
aws-secret-access-key : ${{ secrets.AWS_SECRET_ACCESS_KEY }}
32
- aws-region : us-east -1
32
+ aws-region : ap-southeast -1
33
33
34
34
- name : Build Packer AMI
35
35
run : |
Original file line number Diff line number Diff line change @@ -7,16 +7,16 @@ terraform {
7
7
}
8
8
9
9
backend "s3" {
10
- bucket = " devopslite-tf -state"
10
+ bucket = " devopslite-terraform -state"
11
11
key = " s3-backend/terraform.tfstate"
12
- region = " us-east -1"
12
+ region = " ap-southeast -1"
13
13
encrypt = true
14
14
dynamodb_table = " devopslite-tf-state"
15
15
}
16
16
}
17
17
18
18
provider "aws" {
19
- region = " us-east -1"
19
+ region = " ap-southeast -1"
20
20
}
21
21
22
22
data "aws_caller_identity" "current" {}
Original file line number Diff line number Diff line change 1
1
variable "region" {
2
2
description = " AWS region"
3
- default = " us-east -1"
3
+ default = " ap-southeast -1"
4
4
type = string
5
5
}
6
6
Original file line number Diff line number Diff line change @@ -12,9 +12,9 @@ terraform {
12
12
}
13
13
14
14
backend "s3" {
15
- bucket = " devopslite-tf -state"
15
+ bucket = " devopslite-terraform -state"
16
16
key = " dev/terraform.tfstate"
17
- region = " us-east -1"
17
+ region = " ap-southeast -1"
18
18
encrypt = true
19
19
dynamodb_table = " devopslite-tf-state"
20
20
}
Original file line number Diff line number Diff line change @@ -12,19 +12,19 @@ variable "access_scope_type" {
12
12
13
13
variable "aws_region" {
14
14
type = string
15
- default = " us-east -1"
15
+ default = " ap-southeast -1"
16
16
}
17
17
18
18
variable "bastion_ami_id" {
19
19
description = " AMI ID for Bastion Host"
20
20
type = string
21
- default = " ami-05576a079321f21f8 " # Amazon Linux 2023 AMI
21
+ default = " ami-0bd55ebedabddc3c0 " # Amazon Linux 2023 AMI
22
22
}
23
23
24
24
variable "bation_instance_type" {
25
25
description = " Instance type for bastion host"
26
26
type = string
27
- default = " t3.medium "
27
+ default = " t3.small "
28
28
}
29
29
30
30
variable "custom_ami_id" {
@@ -68,19 +68,19 @@ variable "node_capacity_type" {
68
68
variable "node_group_desired_capacity" {
69
69
description = " Desired number of nodes in the EKS node group"
70
70
type = number
71
- default = 6
71
+ default = 3
72
72
}
73
73
74
74
variable "node_group_max_size" {
75
75
description = " Maximum number of nodes in the EKS node group"
76
76
type = number
77
- default = 10
77
+ default = 4
78
78
}
79
79
80
80
variable "node_group_min_size" {
81
81
description = " Minimum number of nodes in the EKS node group"
82
82
type = number
83
- default = 6
83
+ default = 3
84
84
}
85
85
86
86
variable "node_group_name" {
Original file line number Diff line number Diff line change @@ -40,17 +40,17 @@ variable "aws_tag_project" {
40
40
41
41
variable "region" {
42
42
type = string
43
- default = " us-east -1"
43
+ default = " ap-southeast -1"
44
44
}
45
45
46
46
variable "vpc_id" {
47
47
type = string
48
- default = " vpc-0e915bc98927c4ba2 "
48
+ default = " vpc-074218bada64e2cd7 "
49
49
}
50
50
51
51
variable "public_subnet_id" {
52
52
type = string
53
- default = " subnet-0b07a2f79d091f816 "
53
+ default = " subnet-08080c425d92b5689 "
54
54
}
55
55
56
56
variable "communicator" {
You can’t perform that action at this time.
0 commit comments