Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/articulate/terraform-provider-ohdear
Terraform provider for the Oh Dear monitoring service: https://ohdear.app
https://github.com/articulate/terraform-provider-ohdear
monitoring team-devex-sre terraform terraform-provider
Last synced: about 1 month ago
JSON representation
Terraform provider for the Oh Dear monitoring service: https://ohdear.app
- Host: GitHub
- URL: https://github.com/articulate/terraform-provider-ohdear
- Owner: articulate
- License: mit
- Created: 2018-10-08T17:29:12.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2024-11-13T23:17:19.000Z (about 2 months ago)
- Last Synced: 2024-11-13T23:29:22.203Z (about 2 months ago)
- Topics: monitoring, team-devex-sre, terraform, terraform-provider
- Language: Go
- Homepage: https://registry.terraform.io/providers/articulate/ohdear
- Size: 4.55 MB
- Stars: 18
- Watchers: 55
- Forks: 2
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Terraform Provider OhDear
A Terraform Provider for [Oh Dear](https://ohdear.app/).
## Usage
The provider requires an `api_token` (or `OHDEAR_TOKEN` environment variable) and
an optional `team_id` (`OHDEAR_TEAM_ID` environment variable).```hcl
terraform {
required_providers {
ohdear = {
source = "articulate/ohdear"
version = "2.2.3"
}
}
}provider "ohdear" {
api_token = "my-api-token"
team_id = 1234 # optional
}
```To add a site to Oh Dear, create a `ohdear_site` resource.
```hcl
resource "ohdear_site" "test" {
url = "https://site.iwanttomonitor.com"
}
```By default, all checks are enabled. You can customize this using the `checks`
block. Any checks not defined in the block are disabled.```hcl
resource "ohdear_site" "test" {
url = "https://site.iwanttomonitor.com"checks {
uptime = true
}
}
```## Development Requirements
* [Go](https://golang.org/doc/install) (for development)
* [golangci-lint](https://golangci-lint.run/)
* [GoReleaser](https://goreleaser.com/)## Contributing
Commit messages must be signed and follow the [Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/)
format.## Publishing
Releases are automatically created by [release-please](https://github.com/googleapis/release-please)
on PR merge. This will scan commit messages for new releases based on commit message
and create a release PR. To finish the release, merge the PR, which will kick off
GoReleaser.