0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-08-24 04:18:33 +00:00

fix(cluster): can't read back cluster options on PVE 8.1 (#755)

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
This commit is contained in:
Pavel Boldyrev 2023-11-29 18:12:21 -05:00 committed by GitHub
parent b2782375e2
commit cd24cf238c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 12 additions and 2 deletions

1
.gitignore vendored
View File

@ -31,6 +31,7 @@ modules-dev/
*.tfstate *.tfstate
*.tfstate.lock.info *.tfstate.lock.info
*.tfvars *.tfvars
*.env
.*.swp .*.swp
.DS_Store .DS_Store

7
.vscode/extensions.json vendored Normal file
View File

@ -0,0 +1,7 @@
{
"recommendations": [
"davidanson.vscode-markdownlint",
"joshbolduc.commitlint",
"hashicorp.terraform",
]
}

2
.vscode/launch.json vendored
View File

@ -2,7 +2,7 @@
"version": "0.2.0", "version": "0.2.0",
"configurations": [ "configurations": [
{ {
"name": "Debug provider", "name": "Debug Provider",
"type": "go", "type": "go",
"request": "launch", "request": "launch",
"mode": "auto", "mode": "auto",

View File

@ -4,5 +4,6 @@
"iothread", "iothread",
"qcow", "qcow",
"virtio" "virtio"
] ],
"go.testEnvFile": "${workspaceFolder}/test.env",
} }

View File

@ -381,6 +381,7 @@ func (r *clusterOptionsResource) Schema(
"mac_prefix": schema.StringAttribute{ "mac_prefix": schema.StringAttribute{
Description: "Prefix for autogenerated MAC addresses.", Description: "Prefix for autogenerated MAC addresses.",
Optional: true, Optional: true,
Computed: true,
}, },
"description": schema.StringAttribute{ "description": schema.StringAttribute{
Description: "Datacenter description. Shown in the web-interface datacenter notes panel. " + Description: "Datacenter description. Shown in the web-interface datacenter notes panel. " +