aboutsummaryrefslogtreecommitdiffhomepage
path: root/statuscake/provider.go
diff options
context:
space:
mode:
authorTom Harvey <tombuildsstuff@users.noreply.github.com>2019-01-09 10:45:03 +0000
committerGitHub <noreply@github.com>2019-01-09 10:45:03 +0000
commit303b299eeb6b06e939e35905e4b34cb410dd9dc3 (patch)
treefbf4a9d15d29ef4272013b714580e9678083843f /statuscake/provider.go
parent9676fb99c312a3ba344b2ec0b9ef8b1ba7a46630 (diff)
parent689f520e1dae40936490b47043559d182a817c89 (diff)
downloadterraform-provider-statuscake-303b299eeb6b06e939e35905e4b34cb410dd9dc3.tar.gz
terraform-provider-statuscake-303b299eeb6b06e939e35905e4b34cb410dd9dc3.tar.zst
terraform-provider-statuscake-303b299eeb6b06e939e35905e4b34cb410dd9dc3.zip
Merge pull request #23 from terraform-providers/go1.11-upgrade-2019-01-07
[AUTOMATED] Upgrade to Go 1.11
Diffstat (limited to 'statuscake/provider.go')
-rw-r--r--statuscake/provider.go4
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 (
9func Provider() terraform.ResourceProvider { 9func 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),