-
-
Notifications
You must be signed in to change notification settings - Fork 268
Expand file tree
/
Copy pathvirtual_environment_vm2.md.tmpl
More file actions
38 lines (28 loc) · 1.12 KB
/
virtual_environment_vm2.md.tmpl
File metadata and controls
38 lines (28 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
---
layout: page
title: {{.Name}}
parent: Resources
subcategory: Virtual Environment
description: |-
{{ .Description | plainmarkdown | trimspace | prefixlines " " }}
---
# {{.Type}}: {{.Name}}
~> **Deprecated:** Use [`proxmox_vm`](vm.md) instead. This resource will be removed in v1.0.
!> **DO NOT USE**
{{ .Description | trimspace }}
-> Many attributes are marked as **optional** _and_ **computed** in the schema,
hence you may seem added to the plan with "(known after apply)" status, even if they are not set in the configuration.
This is done to support the `clone` operation, when a VM is created from an existing VM or template,
and the source attributes are copied to the clone.<br><br>
Computed attributes allow the provider to set those attributes without user input.
The attributes are also marked as optional to allow the practitioner to set (or overwrite) them if needed.
{{ if .HasExample -}}
## Example Usage
{{ codefile "terraform" .ExampleFile }}
{{- end }}
{{ .SchemaMarkdown | trimspace }}
{{- if .HasImport }}
## Import
Import is supported using the following syntax:
{{ codefile "shell" .ImportFile }}
{{- end }}