0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-06-30 18:42:58 +00:00

fix(examples): datastore_id is missing in initialization block for vm (#1136)

fix: datastore_id is missing in initialization block

otherwise it defaults to dvInitializationDatastoreID

Signed-off-by: dyadMisha <37950256+dyadMisha@users.noreply.github.com>
This commit is contained in:
dyadMisha 2024-03-18 08:01:19 +07:00 committed by GitHub
parent ef97ba6344
commit 6a5beccf91
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -148,6 +148,7 @@ resource "proxmox_virtual_environment_vm" "example" {
} }
initialization { initialization {
datastore_id = local.datastore_id
// if unspecified: // if unspecified:
// - autodetected if there is a cloud-init device on the template // - autodetected if there is a cloud-init device on the template
// - otherwise defaults to ide2 // - otherwise defaults to ide2