Skip to content

Commit

Permalink
refactor: cleanup variables (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
jordan-acosta authored Aug 19, 2024
1 parent 12c0508 commit 40b14ae
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 30 deletions.
7 changes: 2 additions & 5 deletions terraform.tfvars → example.tfvars
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
internal_root_domain = "foo.nuon.run"
public_root_domain = "public.nuon.run"
nuon_id = "plzxletmtwkqzizk"
location = "eastus"
tags = {
"managed_by" = "nuon"
}
internal_root_domain = "foo.nuon.run"
public_root_domain = "public.nuon.run"
26 changes: 1 addition & 25 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@ variable "nuon_id" {
description = "The nuon id for this install. Used for naming purposes."
}

variable "tags" {
type = map(string)
description = "List of custom tags to add to the install resources. Used for taxonomic purposes."
}

variable "location" {
type = string
description = "The location to launch the cluster in"
Expand All @@ -24,16 +19,9 @@ variable "public_root_domain" {
description = "The public root domain."
}

// cluster configuration
variable "cluster_name" {
type = string
description = "The name of the EKS cluster. Will use the install ID by default."
default = ""
}

variable "cluster_version" {
type = string
description = "The Kubernetes version to use for the EKS cluster."
description = "The Kubernetes version to use for the AKS cluster."
default = "1.28"
}

Expand All @@ -48,15 +36,3 @@ variable "node_count" {
default = 2
description = "The minimum number of nodes in the managed node pool."
}

variable "instance_types" {
type = list(string)
default = ["t3a.medium"]
description = "The EC2 instance types to use for the EKS cluster."
}

variable "username" {
type = string
description = "The admin username for the new cluster."
default = "azureadmin"
}

0 comments on commit 40b14ae

Please sign in to comment.