diff options
Diffstat (limited to 'statuscake/provider.go')
-rw-r--r-- | statuscake/provider.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/statuscake/provider.go b/statuscake/provider.go index abca376..93c691f 100644 --- a/statuscake/provider.go +++ b/statuscake/provider.go | |||
@@ -9,13 +9,13 @@ import ( | |||
9 | func Provider() terraform.ResourceProvider { | 9 | func Provider() terraform.ResourceProvider { |
10 | return &schema.Provider{ | 10 | return &schema.Provider{ |
11 | Schema: map[string]*schema.Schema{ | 11 | Schema: map[string]*schema.Schema{ |
12 | "username": &schema.Schema{ | 12 | "username": { |
13 | Type: schema.TypeString, | 13 | Type: schema.TypeString, |
14 | Required: true, | 14 | Required: true, |
15 | DefaultFunc: schema.EnvDefaultFunc("STATUSCAKE_USERNAME", nil), | 15 | DefaultFunc: schema.EnvDefaultFunc("STATUSCAKE_USERNAME", nil), |
16 | Description: "Username for StatusCake Account.", | 16 | Description: "Username for StatusCake Account.", |
17 | }, | 17 | }, |
18 | "apikey": &schema.Schema{ | 18 | "apikey": { |
19 | Type: schema.TypeString, | 19 | Type: schema.TypeString, |
20 | Required: true, | 20 | Required: true, |
21 | DefaultFunc: schema.EnvDefaultFunc("STATUSCAKE_APIKEY", nil), | 21 | DefaultFunc: schema.EnvDefaultFunc("STATUSCAKE_APIKEY", nil), |