Allow using existing boot disk in compute-vm module (#1241)

* allow using existing boot disk in compute-vm module

* allow setting initialize params to null

* tests

* fast

* blueprints
This commit is contained in:
Ludovico Magnocavallo
2023-03-12 10:53:59 +01:00
committed by GitHub
parent 6aa0fde85b
commit 112d9a8d9c
12 changed files with 97 additions and 104 deletions

View File

@@ -83,9 +83,9 @@ module "instance_template" {
addresses = null
}]
boot_disk = {
image = "projects/cos-cloud/global/images/family/cos-stable"
type = "pd-ssd"
size = 10
initialize_params = {
image = "projects/cos-cloud/global/images/family/cos-stable"
}
}
create_template = true
metadata = {