Initial implementation of Compute resource mgmt, debug pending

This commit is contained in:
Sergey Shubin svs1370
2021-03-10 13:58:11 +03:00
parent 7031f0fe2d
commit f8611fec30
3 changed files with 109 additions and 20 deletions

View File

@@ -78,14 +78,14 @@ func Provider() *schema.Provider {
"app_secret": {
Type: schema.TypeString,
Optional: true,
DefaultFunc: schema.EnvDefaultFunc("DECSORTAPP_SECRET", nil),
DefaultFunc: schema.EnvDefaultFunc("DECORT_APP_SECRET", nil),
Description: "Application secret to access DECORT cloud API in 'oauth2' authentication mode.",
},
"jwt": {
Type: schema.TypeString,
Optional: true,
DefaultFunc: schema.EnvDefaultFunc("DECS_JWT", nil),
DefaultFunc: schema.EnvDefaultFunc("DECORT_JWT", nil),
Description: "JWT to access DECORT cloud API in 'jwt' authentication mode.",
},