Skip to content

Commit

Permalink
fix(cluster): can't read back cluster options on PVE 8.1
Browse files Browse the repository at this point in the history
Signed-off-by: Pavel Boldyrev <[email protected]>
  • Loading branch information
bpg committed Nov 29, 2023
1 parent b278237 commit b10063f
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 2 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ modules-dev/
*.tfstate
*.tfstate.lock.info
*.tfvars
*.env

.*.swp
.DS_Store
Expand Down
7 changes: 7 additions & 0 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"recommendations": [
"davidanson.vscode-markdownlint",
"joshbolduc.commitlint",
"hashicorp.terraform",
]
}
2 changes: 1 addition & 1 deletion .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"version": "0.2.0",
"configurations": [
{
"name": "Debug provider",
"name": "Debug Provider",
"type": "go",
"request": "launch",
"mode": "auto",
Expand Down
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,6 @@
"iothread",
"qcow",
"virtio"
]
],
"go.testEnvFile": "${workspaceFolder}/test.env",
}
1 change: 1 addition & 0 deletions fwprovider/resource_options.go
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,7 @@ func (r *clusterOptionsResource) Schema(
"mac_prefix": schema.StringAttribute{
Description: "Prefix for autogenerated MAC addresses.",
Optional: true,
Computed: true,
},
"description": schema.StringAttribute{
Description: "Datacenter description. Shown in the web-interface datacenter notes panel. " +
Expand Down

0 comments on commit b10063f

Please sign in to comment.