diff options
author | Alex Pilon <apilon@hashicorp.com> | 2019-01-07 18:04:34 -0500 |
---|---|---|
committer | Alex Pilon <apilon@hashicorp.com> | 2019-01-07 18:04:34 -0500 |
commit | 689f520e1dae40936490b47043559d182a817c89 (patch) | |
tree | fbf4a9d15d29ef4272013b714580e9678083843f /statuscake | |
parent | 9676fb99c312a3ba344b2ec0b9ef8b1ba7a46630 (diff) | |
download | terraform-provider-statuscake-689f520e1dae40936490b47043559d182a817c89.tar.gz terraform-provider-statuscake-689f520e1dae40936490b47043559d182a817c89.tar.zst terraform-provider-statuscake-689f520e1dae40936490b47043559d182a817c89.zip |
provider: Require Go 1.11 in TravisCI and README
provider: Run go fix
provider: Run go fmt
Diffstat (limited to 'statuscake')
-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), |