fix repd disk attachment in compute-vm module (#1688)
This commit is contained in:
committed by
GitHub
parent
a47263b4f4
commit
96c28e605b
@@ -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
|
||||
)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user