mirror of
https://github.com/bpg/terraform-provider-proxmox.git
synced 2025-08-22 19:38:35 +00:00
Update example
This commit is contained in:
parent
e2541de215
commit
ecf05f1cfb
@ -1,6 +1,27 @@
|
||||
resource "proxmox_virtual_environment_file" "alpine_template" {
|
||||
datastore_id = "${element(data.proxmox_virtual_environment_datastores.example.datastore_ids, index(data.proxmox_virtual_environment_datastores.example.datastore_ids, "local"))}"
|
||||
file_name = "alpine-3.10-default-amd64.tar.xz"
|
||||
node_name = "${data.proxmox_virtual_environment_datastores.example.node_name}"
|
||||
source = "${path.module}/assets/alpine-3.10-default_20190626_amd64.tar.xz"
|
||||
template = true
|
||||
}
|
||||
|
||||
output "resource_proxmox_virtual_environment_file_alpine_template_datastore_id" {
|
||||
value = "${proxmox_virtual_environment_file.alpine_template.datastore_id}"
|
||||
}
|
||||
|
||||
output "resource_proxmox_virtual_environment_file_alpine_template_file_name" {
|
||||
value = "${proxmox_virtual_environment_file.alpine_template.file_name}"
|
||||
}
|
||||
|
||||
output "resource_proxmox_virtual_environment_file_alpine_template_node_name" {
|
||||
value = "${proxmox_virtual_environment_file.alpine_template.node_name}"
|
||||
}
|
||||
|
||||
output "resource_proxmox_virtual_environment_file_alpine_template_source" {
|
||||
value = "${proxmox_virtual_environment_file.alpine_template.source}"
|
||||
}
|
||||
|
||||
output "resource_proxmox_virtual_environment_file_alpine_template_template" {
|
||||
value = "${proxmox_virtual_environment_file.alpine_template.template}"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user