diff options
author | Alexandre Garand <alexandre.garand@fretlink.com> | 2019-08-09 11:10:50 +0200 |
---|---|---|
committer | Alexandre Garand <alexandre.garand@fretlink.com> | 2019-08-09 11:10:50 +0200 |
commit | 00adefd9b3c8168d52522da0c1370c45171c03e3 (patch) | |
tree | c2ecc2f0aa567fcadf1ebfa96764f2057215a03e /website/docs/r/contact_group.html.markdown | |
parent | 4bbf9881d0a859d7eb54fcac2c8cdfa429503f9b (diff) | |
parent | 0b957cd46a2a3a209c45778da2a7e1e55a94f3c7 (diff) | |
download | terraform-provider-statuscake-00adefd9b3c8168d52522da0c1370c45171c03e3.tar.gz terraform-provider-statuscake-00adefd9b3c8168d52522da0c1370c45171c03e3.tar.zst terraform-provider-statuscake-00adefd9b3c8168d52522da0c1370c45171c03e3.zip |
Merge branch 'add_contact_groups' of github.com:alexandreFre/terraform-provider-statuscake
Diffstat (limited to 'website/docs/r/contact_group.html.markdown')
-rw-r--r-- | website/docs/r/contact_group.html.markdown | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/website/docs/r/contact_group.html.markdown b/website/docs/r/contact_group.html.markdown new file mode 100644 index 0000000..ed3354f --- /dev/null +++ b/website/docs/r/contact_group.html.markdown | |||
@@ -0,0 +1,47 @@ | |||
1 | --- | ||
2 | layout: "statuscake" | ||
3 | page_title: "StatusCake: statuscake_contact_group" | ||
4 | sidebar_current: "docs-statuscake-contact_group" | ||
5 | description: |- | ||
6 | The statuscake_contact_group resource allows StatusCake contact groups to be managed by Terraform. | ||
7 | --- | ||
8 | |||
9 | # statuscake\_contact_group | ||
10 | |||
11 | The contact_group resource allows StatusCake contact groups to be managed by Terraform. | ||
12 | |||
13 | ## Example Usage | ||
14 | |||
15 | ```hcl | ||
16 | resource "statuscake_contact_group" "exemple" { | ||
17 | emails= ["email1","email2"] | ||
18 | group_name= "group name" | ||
19 | ping_url= "url" | ||
20 | } | ||
21 | ``` | ||
22 | |||
23 | ## Argument Reference | ||
24 | |||
25 | The following arguments are supported: | ||
26 | |||
27 | * `desktop_alert` - (Required) Set to 1 To Enable Desktop Alerts | ||
28 | * `ping_url` - (Optional) | ||
29 | * `group_name` - (Optional) The internal Group Name | ||
30 | * `pushover` - (Optional) A Pushover Account Key | ||
31 | * `boxcar` - (Optional) A Boxcar API Key | ||
32 | * `mobiles` - (Optional) Comma Seperated List of International Format Cell Numbers | ||
33 | * `emails` - (Optional) List of Emails To Alert. | ||
34 | |||
35 | ## Attributes Reference | ||
36 | |||
37 | The following attribute is exported: | ||
38 | |||
39 | * `contact_id` - A unique identifier for the contact group. | ||
40 | |||
41 | ## Import | ||
42 | |||
43 | StatusCake contact groups can be imported using the contact group id, e.g. | ||
44 | |||
45 | ``` | ||
46 | tf import statuscake_contact_group.example 123 | ||
47 | ``` | ||