terraform: enable serial console by default

This commit is contained in:
Moritz Sanft 2024-09-17 13:22:35 +02:00
parent a295ecaffb
commit bcc8cae65d
No known key found for this signature in database
GPG Key ID: 335D28368B1DA615
3 changed files with 5 additions and 3 deletions

View File

@ -29,7 +29,7 @@ resource "azurerm_linux_virtual_machine" "jump_host" {
}
boot_diagnostics {
storage_account_uri = null
}
user_data = base64encode(<<EOF

View File

@ -57,7 +57,9 @@ resource "azurerm_linux_virtual_machine_scale_set" "scale_set" {
identity_ids = [var.user_assigned_identity]
}
boot_diagnostics {}
boot_diagnostics {
storage_account_uri = null
}
dynamic "os_disk" {
for_each = var.confidential_vm ? [1] : [] # if confidential_vm is true

View File

@ -70,7 +70,7 @@ resource "google_compute_instance_template" "template" {
metadata = {
kube-env = var.kube_env
constellation-init-secret-hash = var.init_secret_hash
serial-port-enable = var.debug ? "TRUE" : "FALSE"
serial-port-enable = "TRUE"
}
network_interface {