aboutsummaryrefslogtreecommitdiffhomepage
path: root/resource_statuscaketest.go
diff options
context:
space:
mode:
authorLee Johnson <leejohnson@ijoinsolutions.com>2016-11-29 15:27:04 -0500
committerLee Johnson <leejohnson@ijoinsolutions.com>2016-11-29 15:27:04 -0500
commit2f15340f09a2a9dd12f9a47c009b9743e0d2f2db (patch)
treebd2ea5a5da08a7147019fa7dd08d184b3128b8e4 /resource_statuscaketest.go
parente7b04dd5bb4a5947d1f4e9049ec90032b62faa5e (diff)
parent516886070835127727defe348567a0edfa138528 (diff)
downloadterraform-provider-statuscake-2f15340f09a2a9dd12f9a47c009b9743e0d2f2db.tar.gz
terraform-provider-statuscake-2f15340f09a2a9dd12f9a47c009b9743e0d2f2db.tar.zst
terraform-provider-statuscake-2f15340f09a2a9dd12f9a47c009b9743e0d2f2db.zip
Merge remote-tracking branch 'origin/master' into statuscake_adding_contact_group
Diffstat (limited to 'resource_statuscaketest.go')
-rw-r--r--resource_statuscaketest.go7
1 files changed, 7 insertions, 0 deletions
diff --git a/resource_statuscaketest.go b/resource_statuscaketest.go
index d403848..389a7d6 100644
--- a/resource_statuscaketest.go
+++ b/resource_statuscaketest.go
@@ -58,6 +58,10 @@ func resourceStatusCakeTest() *schema.Resource {
58 Type: schema.TypeInt, 58 Type: schema.TypeInt,
59 Computed: true, 59 Computed: true,
60 }, 60 },
61 "contact_id": &schema.Schema{
62 Type: schema.TypeInt,
63 Optional: true,
64 },
61 }, 65 },
62 } 66 }
63} 67}
@@ -160,5 +164,8 @@ func getStatusCakeTestInput(d *schema.ResourceData) *statuscake.Test {
160 if v, ok := d.GetOk("timeout"); ok { 164 if v, ok := d.GetOk("timeout"); ok {
161 test.Timeout = v.(int) 165 test.Timeout = v.(int)
162 } 166 }
167 if v, ok := d.GetOk("contact_id"); ok {
168 test.ContactID = v.(int)
169 }
163 return test 170 return test
164} 171}