terraform: enable serial console by default (#3360)

This commit is contained in:
Moritz Sanft 2024-09-17 15:01:33 +02:00 committed by GitHub
parent 1f887c7868
commit d2cbc0adef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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 {