mirror of
https://github.com/optim-enterprises-bv/terraform-talos.git
synced 2025-11-02 03:08:34 +00:00
* GCP network * Add worker templates * Region group * Cosmetic * GCP nat for workers * Network * Google services * Deploy talos
30 lines
691 B
HCL
30 lines
691 B
HCL
|
|
data "google_client_openid_userinfo" "terraform" {}
|
|
|
|
resource "google_os_login_ssh_public_key" "terraform" {
|
|
project = var.project_id
|
|
user = data.google_client_openid_userinfo.terraform.email
|
|
key = file("~/.ssh/terraform.pub")
|
|
}
|
|
|
|
# resource "google_compute_image" "talos" {
|
|
# name = "talos"
|
|
# description = "Talos v0.11.3"
|
|
|
|
# raw_disk {
|
|
# source = "https://github.com/talos-systems/talos/releases/download/v0.11.3/gcp-amd64.tar.gz"
|
|
# }
|
|
|
|
# guest_os_features {
|
|
# type = "VIRTIO_SCSI_MULTIQUEUE"
|
|
# }
|
|
# guest_os_features {
|
|
# type = "MULTI_IP_SUBNET"
|
|
# }
|
|
# }
|
|
|
|
data "google_compute_image" "talos" {
|
|
project = var.project_id
|
|
family = "talos"
|
|
}
|