mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-05-18 06:00:35 -04:00
terraform: enable serial console by default
This commit is contained in:
parent
a295ecaffb
commit
bcc8cae65d
3 changed files with 5 additions and 3 deletions
|
@ -29,7 +29,7 @@ resource "azurerm_linux_virtual_machine" "jump_host" {
|
|||
}
|
||||
|
||||
boot_diagnostics {
|
||||
|
||||
storage_account_uri = null
|
||||
}
|
||||
|
||||
user_data = base64encode(<<EOF
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue