0
0
mirror of https://github.com/bpg/terraform-provider-proxmox.git synced 2025-06-30 02:31:10 +00:00

project config update

Signed-off-by: Pavel Boldyrev <627562+bpg@users.noreply.github.com>
This commit is contained in:
Pavel Boldyrev 2024-02-06 18:39:31 -05:00
parent 4a0ceb9735
commit 34da8099a8
No known key found for this signature in database
GPG Key ID: 02A24794ADAC7455
4 changed files with 8 additions and 2 deletions

View File

@ -7,7 +7,9 @@
// Features to add to the dev container. More info: https://containers.dev/features.
"features": {
"ghcr.io/devcontainers/features/terraform:1": {}
"ghcr.io/devcontainers/features/terraform:1": {
"version": "1.7.2"
}
},
// Workaround for https://github.com/orgs/community/discussions/75161

View File

@ -3,12 +3,13 @@
"cSpell.words": [
"capi",
"CLRF",
"deepcode",
"iface",
"iothread",
"keyctl",
"mbps",
"NUMA",
"nolint",
"NUMA",
"proxmoxtf",
"qcow",
"rootfs",

View File

@ -86,6 +86,7 @@ func NewConnection(endpoint string, insecure bool, minTLS string) (*Connection,
var transport http.RoundTripper = &http.Transport{
Proxy: http.ProxyFromEnvironment,
TLSClientConfig: &tls.Config{
// deepcode ignore InsecureTLSConfig: the min TLS version is configurable
MinVersion: version,
InsecureSkipVerify: insecure, //nolint:gosec
},

View File

@ -4,6 +4,8 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
*/
// file deepcode ignore NoHardcodedCredentials/test: test file
package tasks
import (