mirror of
https://github.com/bpg/terraform-provider-proxmox.git
synced 2025-07-02 11:32:59 +00:00
Update example
This commit is contained in:
parent
1176ef9ee4
commit
5d5f1c1835
@ -14,7 +14,7 @@ resource "proxmox_virtual_environment_file" "cloud_init_config" {
|
|||||||
node_name = "${data.proxmox_virtual_environment_datastores.example.node_name}"
|
node_name = "${data.proxmox_virtual_environment_datastores.example.node_name}"
|
||||||
|
|
||||||
source_raw {
|
source_raw {
|
||||||
data = <<EOF
|
data = <<EOF
|
||||||
#cloud-config
|
#cloud-config
|
||||||
chpasswd:
|
chpasswd:
|
||||||
list: |
|
list: |
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
resource "proxmox_virtual_environment_group" "example" {
|
resource "proxmox_virtual_environment_group" "example" {
|
||||||
acl {
|
acl {
|
||||||
path = "/vms/100"
|
path = "/vms/${proxmox_virtual_environment_vm.example.id}"
|
||||||
role_id = "${proxmox_virtual_environment_role.example.id}"
|
role_id = "${proxmox_virtual_environment_role.example.id}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
resource "proxmox_virtual_environment_user" "example" {
|
resource "proxmox_virtual_environment_user" "example" {
|
||||||
acl {
|
acl {
|
||||||
path = "/"
|
path = "/vms/${proxmox_virtual_environment_vm.example.id}"
|
||||||
propagate = true
|
propagate = true
|
||||||
role_id = "PVEVMAdmin"
|
role_id = "PVEVMAdmin"
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user