mirror of
https://github.com/letic/terraform-provider-proxmox.git
synced 2024-09-28 22:16:03 +00:00
Work around OTP being required by default
This commit is contained in:
parent
c8a7b20574
commit
8084bb95c7
@ -56,8 +56,8 @@ func Provider() *schema.Provider {
|
|||||||
},
|
},
|
||||||
"pm_otp": {
|
"pm_otp": {
|
||||||
Type: schema.TypeString,
|
Type: schema.TypeString,
|
||||||
Required: true,
|
Optional: true,
|
||||||
DefaultFunc: schema.EnvDefaultFunc("PM_OTP", nil),
|
DefaultFunc: schema.EnvDefaultFunc("PM_OTP", ""),
|
||||||
Description: "OTP 2FA code (if required)",
|
Description: "OTP 2FA code (if required)",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
Loading…
Reference in New Issue
Block a user