Skip to content

Commit

Permalink
Merge pull request #11 from ashutoshpatnaik12/patch-9
Browse files Browse the repository at this point in the history
Update variables.tf
  • Loading branch information
deepikaarora88 authored Feb 4, 2025
2 parents 21d256d + 5d2ba89 commit 6c9903c
Showing 1 changed file with 7 additions and 10 deletions.
17 changes: 7 additions & 10 deletions infra-as-code/terraform/sample-aws/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

variable "cluster_name" {
description = "Name of the Kubernetes cluster"
default = <cluster_name> #REPLACE
default = "selco-prod" #REPLACE
}

variable "vpc_cidr_block" {
Expand All @@ -31,13 +31,13 @@ variable "kubernetes_version" {

variable "instance_type" {
description = "eGov recommended below instance type as a default"
default = "r5ad.large"
default = "r5.xlarge"
}

variable "override_instance_types" {
description = "Arry of instance types for SPOT instances"
default = ["r5a.large", "r5ad.large", "r5d.large", "m4.xlarge"]

}

variable "number_of_worker_nodes" {
Expand All @@ -47,29 +47,26 @@ variable "number_of_worker_nodes" {

variable "ssh_key_name" {
description = "ssh key name, not required if your using spot instance types"
default = <ssh_key_name> #REPLACE
default = "selco-prod-ssh-key" #REPLACE
}


variable "db_name" {
description = "RDS DB name. Make sure there are no hyphens or other special characters in the DB name. Else, DB creation will fail"
default = <db_name> #REPLACE
default = "selcoproddb" #REPLACE
}

variable "db_username" {
description = "RDS database user name"
default = <db_username> #REPLACE
default = "selcoprod" #REPLACE
}

#DO NOT fill in here. This will be asked at runtime
variable "db_password" {}

variable "public_key" {
default = <public_ssh_key>
default = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCrluFaPQAaBhtK2WGi2KrHaenSljN1SkKNlXiHefUbFZFiR+GqMwL8TN7n7+APFxLh666+ioALA/xHj8bE/0UMs9xXabd2JOO224RZ9WF0nJF1XeTu8vSa0EEhDAl0kQYr2wtGd2c3u59lIVxIx7u779sWsO1npkKF9dO5UIC0T6r47tIHsPnQSn+D64luA03IaokPEKHi1h8QUQvsDFIpJrQvlEgy5wxY7sV4Ws+n0XJR3RbtOdZifj3T93sxE3zHJSBQ9Hcf+qGizRPjTZ2y3EqskU4P9Atgd0U3KGqviEQOxidwIKdTH9UpD0TzPyPZtdi8Z34bRHHDH47j2OAf"
description = "ssh key"
}

## change ssh key_name eg. digit-quickstart_your-name



0 comments on commit 6c9903c

Please sign in to comment.