Skip to content

Commit

Permalink
terraform: enable serial console by default (#3360)
Browse files Browse the repository at this point in the history
  • Loading branch information
msanft authored Sep 17, 2024
1 parent 1f887c7 commit d2cbc0a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion terraform/infrastructure/azure/modules/jump_host/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ resource "azurerm_linux_virtual_machine" "jump_host" {
}

boot_diagnostics {

storage_account_uri = null
}

user_data = base64encode(<<EOF
Expand Down
4 changes: 3 additions & 1 deletion terraform/infrastructure/azure/modules/scale_set/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit d2cbc0a

Please sign in to comment.