1
0
Fork 0

infra/main: bump control plane size, bump talos image

This commit is contained in:
ryan-distrust.co 2023-05-10 19:24:07 -04:00
parent 94246b21d0
commit d695abb3fd
Signed by untrusted user who does not match committer: ryan
GPG Key ID: 8E401478A3FBEF72
1 changed files with 6 additions and 2 deletions

View File

@ -12,16 +12,20 @@ resource "random_id" "suffix" {
resource "digitalocean_custom_image" "talos" { resource "digitalocean_custom_image" "talos" {
name = "talos" name = "talos"
url = "https://github.com/siderolabs/talos/releases/download/v1.2.3/digital-ocean-amd64.raw.gz" url = "https://github.com/siderolabs/talos/releases/download/v1.4.3/digital-ocean-amd64.raw.gz"
regions = ["sfo3"] regions = ["sfo3"]
} }
module "digitalocean_talos_cluster" { module "digitalocean_talos_cluster-2" {
source = "../../terraform_modules/digitalocean_talos_cluster" source = "../../terraform_modules/digitalocean_talos_cluster"
talos_cluster_name = "distrust" talos_cluster_name = "distrust"
talos_image = digitalocean_custom_image.talos.image_id talos_image = digitalocean_custom_image.talos.image_id
talos_config_directory = "talos" talos_config_directory = "talos"
control_plane_pool = {
count = 1,
size = "s-4vcpu-8gb",
}
worker_pools = [{ worker_pools = [{
name = "primary", name = "primary",
count = 1, count = 1,