Skip to content

Commit

Permalink
Add another check example using simple config
Browse files Browse the repository at this point in the history
  • Loading branch information
pallxk committed Mar 3, 2022
1 parent 2bcf03b commit 90899a2
Showing 1 changed file with 20 additions and 4 deletions.
24 changes: 20 additions & 4 deletions docs/resources/check.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,28 @@

The check resource allows a check to be created in [Healthchecks.io](https://healthchecks.io).

## Example Usage
## Example Usages

```hcl
resource "healthchecksio_check" "test" {
name = "test-check"
desc = "A test check"
resource "healthchecksio_check" "test_simple" {
name = "test-check-simple"
desc = "A test check using simple config"
tags = [
"go",
"gophers",
"unite",
]
timeout = 24 * 3600 # seconds
grace = 30 * 60 # seconds
}
```

```hcl
resource "healthchecksio_check" "test_cron" {
name = "test-check-cron"
desc = "A test check using cron syntax"
tags = [
"go",
Expand Down

0 comments on commit 90899a2

Please sign in to comment.