aboutsummaryrefslogtreecommitdiffhomepage
path: root/website/docs/r/contact_group.html.markdown
blob: ed3354f9a9ba9593a988946e5929ab065d6f37e0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
---
layout: "statuscake"
page_title: "StatusCake: statuscake_contact_group"
sidebar_current: "docs-statuscake-contact_group"
description: |-
  The statuscake_contact_group resource allows StatusCake contact groups to be managed by Terraform.
---

# statuscake\_contact_group

The contact_group resource allows StatusCake contact groups to be managed by Terraform.

## Example Usage

```hcl
resource "statuscake_contact_group" "exemple" {
	emails= ["email1","email2"]
        group_name= "group name"
        ping_url= "url"
}
```

## Argument Reference

The following arguments are supported:

* `desktop_alert` - (Required) Set to 1 To Enable Desktop Alerts
* `ping_url` - (Optional) 
* `group_name` - (Optional) The internal Group Name
* `pushover` - (Optional) A Pushover Account Key
* `boxcar` - (Optional) A Boxcar API Key
* `mobiles` - (Optional) Comma Seperated List of International Format Cell Numbers
* `emails` - (Optional) List of Emails To Alert.

## Attributes Reference

The following attribute is exported:

* `contact_id` - A unique identifier for the contact group.

## Import

StatusCake contact groups can be imported using the contact group id, e.g.

```
tf import statuscake_contact_group.example 123
```