Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support setting instance_type for master nodes #95

Merged
merged 1 commit into from
Aug 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion control_plane.tf
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module "master" {
region = var.region
template_id = data.exoscale_template.rhcos.id
base_domain = var.base_domain
instance_type = "standard.extra-large"
instance_type = var.master_type
node_state = var.master_state
ssh_key_pair = local.ssh_key_name

Expand Down
5 changes: 5 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,11 @@ variable "storage_type" {
default = "cpu.extra-large"
}

variable "master_type" {
type = string
default = "standard.extra-large"
}

variable "bootstrap_state" {
type = string
default = "running"
Expand Down