summaryrefslogtreecommitdiff
path: root/astroshop-terraform/terraform.tfvars
diff options
context:
space:
mode:
authorSaumit <justsaumit@protonmail.com>2025-09-28 04:34:29 +0530
committerSaumit <justsaumit@protonmail.com>2025-09-28 04:34:29 +0530
commit90a62ae7ea5e745b99d8ac8d08ae837bbaedfce5 (patch)
tree97c9029d875f13288392bb8af4fb270067e4939a /astroshop-terraform/terraform.tfvars
parentc91e833ccba15a311e23cc21709cdefaf90b4398 (diff)
backend: Refactor formatting in main.tf and variables.tf, add terraform.tfvars for configuration
Diffstat (limited to 'astroshop-terraform/terraform.tfvars')
-rw-r--r--astroshop-terraform/terraform.tfvars29
1 files changed, 29 insertions, 0 deletions
diff --git a/astroshop-terraform/terraform.tfvars b/astroshop-terraform/terraform.tfvars
new file mode 100644
index 0000000..a68abe8
--- /dev/null
+++ b/astroshop-terraform/terraform.tfvars
@@ -0,0 +1,29 @@
+region = "ap-south-1"
+cluster_name = "astroshop-eks-cluster"
+cluster_version = "1.32"
+vpc_cidr = "10.0.0.0/16"
+availability_zones = ["ap-south-1a", "ap-south-1b", "ap-south-1c"]
+private_subnet_cidrs = ["10.0.1.0/24", "10.0.2.0/24", "10.0.3.0/24"]
+public_subnet_cidrs = ["10.0.4.0/24", "10.0.5.0/24", "10.0.6.0/24"]
+public_access_cidrs = ["0.0.0.0/0"] # This should be Changed to client IP range!
+
+node_groups = {
+ general = {
+ instance_types = ["m7i-flex.large"]
+ capacity_type = "ON_DEMAND"
+ scaling_config = {
+ desired_size = 2
+ max_size = 3
+ min_size = 1
+ }
+ }
+ # spot = {
+ # instance_types = ["m7i-flex.large"]
+ # capacity_type = "SPOT"
+ # scaling_config = {
+ # desired_size = 1
+ # max_size = 3
+ # min_size = 0
+ # }
+ # }
+}