Skip to content

Commit

Permalink
Merge pull request #128 from uptime-com/release/2.10.0
Browse files Browse the repository at this point in the history
Release/2.10.0
  • Loading branch information
gigovich authored Dec 4, 2024
2 parents 86340ca + 0789a7d commit e3c2e1f
Show file tree
Hide file tree
Showing 50 changed files with 3,334 additions and 65 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ jobs:
env:
TF_ACC: 'yup'
UPTIME_TOKEN: '${{ secrets.UPTIME_TOKEN }}'
run: go test -v ./... -run ^TestAcc[A-Z]
UPTIME_RATE_LIMIT: '0.15'
run: go test -test.timeout=50m -test.parallel=1 -v ./... -run ^TestAcc[A-Z]

release:
if: startsWith(github.ref, 'refs/tags/v')
Expand Down
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,15 @@
# Uptime.com Terraform provider changelog

## v2.10.0

- Add `uptime_statuspage_component`, `uptime_statuspage_incident`, `uptime_statuspage_metric`
`uptime_statuspage_subscriber`, `uptime_statuspage_metric`, `uptime_statuspage_subscription_domain_allow`
`uptime_statuspage_subscription_domain_block` and `uptime_statuspage_user` resources.
- Add `uptime_credential` resource.
- Add `uptime_integration_opsgenie` resource.
- Remove ICMP check DNS hostname validation for `address` field.
- Upgrade dependencies

## v2.9.0

- Add `uptime_check_maintenance` resource
Expand Down
44 changes: 44 additions & 0 deletions docs/resources/credential.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "uptime_credential Resource - terraform-provider-uptime"
subcategory: ""
description: |-
---

# uptime_credential (Resource)





<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `credential_type` (String)
- `display_name` (String)
- `secret` (Attributes) (see [below for nested schema](#nestedatt--secret))

### Optional

- `description` (String)
- `username` (String)

### Read-Only

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

<a id="nestedatt--secret"></a>
### Nested Schema for `secret`

Optional:

- `certificate` (String, Sensitive)
- `key` (String, Sensitive)
- `passphrase` (String, Sensitive)
- `password` (String, Sensitive)
- `secret` (String, Sensitive)


36 changes: 36 additions & 0 deletions docs/resources/integration_opsgenie.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "uptime_integration_opsgenie Resource - terraform-provider-uptime"
subcategory: ""
description: |-
Opsgenie integration resource
---

# uptime_integration_opsgenie (Resource)

Opsgenie integration resource



<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `api_endpoint` (String)
- `api_key` (String)
- `name` (String)

### Optional

- `auto_resolve` (Boolean) Automatically resolve incident once the check is back up.
- `contact_groups` (Set of String)
- `tags` (String) A comma separated list of labels attached to the alert. You may overwrite the quiet hours setting for urgent alerts by adding the OverwriteQuietHours tag. Leave blank to automatically pull the tags from the check instead.
- `teams` (String) A comma separated list of team names which will be responsible for the alert

### Read-Only

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


9 changes: 9 additions & 0 deletions docs/resources/statuspage.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,19 +25,27 @@ description: |-
- `allow_pdf_report` (Boolean)
- `allow_search_indexing` (Boolean)
- `allow_subscriptions` (Boolean)
- `allow_subscriptions_email` (Boolean)
- `allow_subscriptions_rss` (Boolean)
- `allow_subscriptions_slack` (Boolean)
- `allow_subscriptions_sms` (Boolean)
- `allow_subscriptions_webhook` (Boolean)
- `auth_password` (String, Sensitive)
- `auth_username` (String)
- `cname` (String)
- `company_website_url` (String)
- `contact_email` (String)
- `custom_css` (String)
- `custom_footer_html` (String)
- `custom_header_bg_color_hex` (String)
- `custom_header_html` (String)
- `custom_header_text_color_hex` (String)
- `default_history_date_range` (Number)
- `description` (String)
- `email_from` (String)
- `email_reply_to` (String)
- `google_analytics_code` (String)
- `hide_empty_tabs_history` (Boolean)
- `page_type` (String)
- `show_active_incidents` (Boolean)
- `show_component_history` (Boolean)
Expand All @@ -48,6 +56,7 @@ description: |-
- `show_status_tab` (Boolean)
- `show_summary_metrics` (Boolean)
- `slug` (String)
- `theme` (String)
- `timezone` (String)
- `uptime_calculation_type` (String)
- `visibility_level` (String)
Expand Down
38 changes: 38 additions & 0 deletions docs/resources/statuspage_component.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "uptime_statuspage_component Resource - terraform-provider-uptime"
subcategory: ""
description: |-
Status page component resource
---

# uptime_statuspage_component (Resource)

Status page component resource



<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `name` (String)
- `statuspage_id` (Number)

### Optional

- `auto_status_down` (String)
- `auto_status_up` (String)
- `description` (String)
- `group_id` (Number)
- `is_group` (Boolean)
- `service_id` (Number)
- `status` (String)

### Read-Only

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


68 changes: 68 additions & 0 deletions docs/resources/statuspage_incident.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "uptime_statuspage_incident Resource - terraform-provider-uptime"
subcategory: ""
description: |-
Status page incident or maintenance window resource
---

# uptime_statuspage_incident (Resource)

Status page incident or maintenance window resource



<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `name` (String)
- `statuspage_id` (Number)
- `updates` (Attributes Set) (see [below for nested schema](#nestedatt--updates))

### Optional

- `affected_components` (Attributes Set) (see [below for nested schema](#nestedatt--affected_components))
- `ends_at` (String)
- `incident_type` (String)
- `include_in_global_metrics` (Boolean)
- `notify_subscribers` (Boolean)
- `send_maintenance_start_notification` (Boolean)
- `starts_at` (String)
- `update_component_status` (Boolean)

### Read-Only

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

<a id="nestedatt--updates"></a>
### Nested Schema for `updates`

Optional:

- `description` (String)
- `incident_state` (String)

Read-Only:

- `id` (Number)


<a id="nestedatt--affected_components"></a>
### Nested Schema for `affected_components`

Required:

- `component_id` (Number)

Optional:

- `status` (String)

Read-Only:

- `id` (Number)


33 changes: 33 additions & 0 deletions docs/resources/statuspage_metric.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "uptime_statuspage_metric Resource - terraform-provider-uptime"
subcategory: ""
description: |-
Status page metric resource
---

# uptime_statuspage_metric (Resource)

Status page metric resource



<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `name` (String)
- `service_id` (Number)
- `statuspage_id` (Number)

### Optional

- `is_visible` (Boolean)

### Read-Only

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


32 changes: 32 additions & 0 deletions docs/resources/statuspage_subscriber.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "uptime_statuspage_subscriber Resource - terraform-provider-uptime"
subcategory: ""
description: |-
Status page subscriber resource
---

# uptime_statuspage_subscriber (Resource)

Status page subscriber resource



<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `statuspage_id` (Number)
- `type` (String)

### Optional

- `force_validation_sms` (Boolean)
- `target` (String)

### Read-Only

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


27 changes: 27 additions & 0 deletions docs/resources/statuspage_subscription_domain_allow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "uptime_statuspage_subscription_domain_allow Resource - terraform-provider-uptime"
subcategory: ""
description: |-
Status page subscription domain allow resource
---

# uptime_statuspage_subscription_domain_allow (Resource)

Status page subscription domain allow resource



<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `domain` (String)
- `statuspage_id` (Number)

### Read-Only

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


27 changes: 27 additions & 0 deletions docs/resources/statuspage_subscription_domain_block.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
---
# generated by https://github.com/hashicorp/terraform-plugin-docs
page_title: "uptime_statuspage_subscription_domain_block Resource - terraform-provider-uptime"
subcategory: ""
description: |-
Status page subscription domain block resource
---

# uptime_statuspage_subscription_domain_block (Resource)

Status page subscription domain block resource



<!-- schema generated by tfplugindocs -->
## Schema

### Required

- `domain` (String)
- `statuspage_id` (Number)

### Read-Only

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


Loading

0 comments on commit e3c2e1f

Please sign in to comment.