fix repd disk attachment in compute-vm module (#1688)

This commit is contained in:
Ludovico Magnocavallo
2023-09-18 15:02:28 +02:00
committed by GitHub
parent a47263b4f4
commit 96c28e605b
2 changed files with 1 additions and 2 deletions

View File

@@ -187,7 +187,7 @@ resource "google_compute_instance" "default" {
source = (
config.value.source_type == "attach"
? config.value.source
: google_compute_region_disk.disks[config.key].name
: google_compute_region_disk.disks[config.key].id
)
}
}