New Terraform resources: towerops_agent, towerops_integration, towerops_maintenance_window with full CRUD, docs, and examples.
1.3 KiB
1.3 KiB
| page_title | description |
|---|---|
| towerops_integration Resource - TowerOps | Manages a TowerOps integration with third-party services. |
towerops_integration (Resource)
Manages a TowerOps integration with third-party services such as PagerDuty, Slack, or webhooks.
Example Usage
PagerDuty Integration
resource "towerops_integration" "pagerduty" {
provider = "pagerduty"
enabled = true
}
Webhook Integration with Sync Interval
resource "towerops_integration" "webhook" {
provider = "webhook"
enabled = true
sync_interval_minutes = 15
}
Disabled Integration
resource "towerops_integration" "slack" {
provider = "slack"
enabled = false
}
Schema
Required
provider(String) - The integration provider type (e.g.pagerduty,slack,webhook).
Optional
enabled(Boolean) - Whether the integration is enabled. Defaults totrue.sync_interval_minutes(Number) - How often the integration syncs, in minutes.
Read-Only
id(String) - The unique identifier of the integration.inserted_at(String) - The timestamp when the integration was created.
Import
Integrations can be imported using their UUID:
terraform import towerops_integration.example 550e8400-e29b-41d4-a716-446655440000