diff options
author | Alexandre Garand <alexandre.garand@fretlink.com> | 2019-08-09 11:02:14 +0200 |
---|---|---|
committer | Alexandre Garand <alexandre.garand@fretlink.com> | 2019-08-09 12:30:58 +0200 |
commit | 49c1c7b4dc69ffb9ab52330e6dc52ccdd6351087 (patch) | |
tree | 34f1df96cf365a584acf76482d5b5b5fb4d267ee /website/docs/r | |
parent | ebf8436f01bcacb71e3c378f08b165dfd6dd90e6 (diff) | |
download | terraform-provider-statuscake-49c1c7b4dc69ffb9ab52330e6dc52ccdd6351087.tar.gz terraform-provider-statuscake-49c1c7b4dc69ffb9ab52330e6dc52ccdd6351087.tar.zst terraform-provider-statuscake-49c1c7b4dc69ffb9ab52330e6dc52ccdd6351087.zip |
add contact_group resource to the provider
Diffstat (limited to 'website/docs/r')
-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 | ``` | ||