diff --git a/.gitignore b/.gitignore index 3463e99f..d7cfed08 100644 --- a/.gitignore +++ b/.gitignore @@ -31,6 +31,7 @@ modules-dev/ *.tfstate *.tfstate.lock.info *.tfvars +*.env .*.swp .DS_Store diff --git a/.vscode/extensions.json b/.vscode/extensions.json new file mode 100644 index 00000000..5a3c839d --- /dev/null +++ b/.vscode/extensions.json @@ -0,0 +1,7 @@ +{ + "recommendations": [ + "davidanson.vscode-markdownlint", + "joshbolduc.commitlint", + "hashicorp.terraform", + ] +} diff --git a/.vscode/launch.json b/.vscode/launch.json index 306dd412..3a41df33 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -2,7 +2,7 @@ "version": "0.2.0", "configurations": [ { - "name": "Debug provider", + "name": "Debug Provider", "type": "go", "request": "launch", "mode": "auto", diff --git a/.vscode/settings.json b/.vscode/settings.json index 1022d83c..97eb39e4 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -4,5 +4,6 @@ "iothread", "qcow", "virtio" - ] + ], + "go.testEnvFile": "${workspaceFolder}/test.env", } diff --git a/fwprovider/resource_options.go b/fwprovider/resource_options.go index d49d5c63..2369f1c0 100644 --- a/fwprovider/resource_options.go +++ b/fwprovider/resource_options.go @@ -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. " +