Skip to content

Commit

Permalink
Merge pull request #93 from articulate/build/go-1.20
Browse files Browse the repository at this point in the history
build(go): update to 1.20
  • Loading branch information
mloberg committed Jul 21, 2023
2 parents da29096 + 675ad9f commit b4e0ca7
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 18 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ jobs:
max-parallel: 1
matrix:
terraform:
- '1.0.11'
- '1.1.9'
- '1.2.9'
- '1.3.6'
- '1.3.9'
- '1.4.6'
- '1.5.3'
steps:
- uses: actions/checkout@v3
- uses: actions/setup-go@v4
Expand Down
6 changes: 3 additions & 3 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,9 @@ provider "ohdear" {

### Required

- **api_token** (String) Oh Dear API token. If not set, uses `OHDEAR_TOKEN` env var.
- `api_token` (String) Oh Dear API token. If not set, uses `OHDEAR_TOKEN` env var.

### Optional

- **api_url** (String) Oh Dear API URL. If not set, uses `OHDEAR_API_URL` env var. Defaults to `https://ohdear.app`.
- **team_id** (Number) The default team ID to use for sites. If not set, uses `OHDEAR_TEAM_ID` env var.
- `api_url` (String) Oh Dear API URL. If not set, uses `OHDEAR_API_URL` env var. Defaults to `https://ohdear.app`.
- `team_id` (Number) The default team ID to use for sites. If not set, uses `OHDEAR_TEAM_ID` env var.
25 changes: 14 additions & 11 deletions docs/resources/site.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,26 +33,29 @@ resource "ohdear_site" "uptime-only" {

### Required

- **url** (String) URL of the site to be checked.
- `url` (String) URL of the site to be checked.

### Optional

- **checks** (Block List, Max: 1) Set the checks enabled for the site. If block is not present, it will enable all checks. (see [below for nested schema](#nestedblock--checks))
- **id** (String) The ID of this resource.
- **team_id** (Number) ID of the team for this site. If not set, will use `team_id` configured in provider.
- `checks` (Block List, Max: 1) Set the checks enabled for the site. If block is not present, it will enable all checks. (see [below for nested schema](#nestedblock--checks))
- `team_id` (Number) ID of the team for this site. If not set, will use `team_id` configured in provider.

### Read-Only

- `id` (String) The ID of this resource.

<a id="nestedblock--checks"></a>
### Nested Schema for `checks`

Optional:

- **broken_links** (Boolean) Enable broken link checks.
- **certificate_health** (Boolean) Enable certificate health checks. Requires the url to use https.
- **certificate_transparency** (Boolean) Enable certificate transparency checks. Requires the url to use https.
- **dns** (Boolean) Enable DNS checks. Defaults to `false`.
- **mixed_content** (Boolean) Enable mixed content checks.
- **performance** (Boolean) Enable performance checks.
- **uptime** (Boolean) Enable uptime checks.
- `broken_links` (Boolean) Enable broken link checks.
- `certificate_health` (Boolean) Enable certificate health checks. Requires the url to use https.
- `certificate_transparency` (Boolean) Enable certificate transparency checks. Requires the url to use https.
- `dns` (Boolean) Enable DNS checks. Defaults to `false`.
- `mixed_content` (Boolean) Enable mixed content checks.
- `performance` (Boolean) Enable performance checks.
- `uptime` (Boolean) Enable uptime checks.

## Import

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
module github.com/articulate/terraform-provider-ohdear

go 1.19
go 1.20

require (
github.com/go-resty/resty/v2 v2.7.0
Expand Down

0 comments on commit b4e0ca7

Please sign in to comment.