Commit graph

21 commits

Author SHA1 Message Date
3ff5ea41b3
rename integration provider to provider_type
"provider" is a reserved attribute name in Terraform.
2026-03-13 17:41:06 -05:00
4960adaf37
add address, latitude, longitude to site resource
Support geographic coordinates and street address in towerops_site.
All three fields are optional; server validates lat/long ranges.
2026-03-13 17:35:16 -05:00
bbe1babdf7
add agent, integration, and maintenance window resources
New Terraform resources: towerops_agent, towerops_integration,
towerops_maintenance_window with full CRUD, docs, and examples.
2026-03-11 14:33:52 -05:00
e7634da384
docs: add schedule and escalation policy documentation
Add Terraform Registry docs and examples for towerops_schedule and
towerops_escalation_policy resources. Update provider index and main
example to include on-call resources.
2026-03-11 14:04:29 -05:00
9d204a7ba3
feat: add schedule and escalation policy resources
Add towerops_schedule and towerops_escalation_policy Terraform resources
with client CRUD methods, resource models, and provider registration.
2026-03-11 14:01:37 -05:00
96bb767c83
feat: add SNMP community string support to organization resource
- Add snmp_community field to Organization struct (client.go)
- Add snmp_community attribute to organization resource schema
- Mark as Optional and Sensitive in Terraform
- Include in Create and Update operations
- Only settable by organization owners (enforced by API)

Example usage:
  resource "towerops_organization" "main" {
    name           = "My Organization"
    use_sites      = true
    snmp_community = "public"
  }
2026-03-10 13:59:54 -05:00
1ccf9ce30a
chore: update Go dependencies to latest versions
Updates include:
- terraform-plugin-framework v1.17.0 -> v1.19.0
- terraform-plugin-go v0.29.0 -> v0.31.0
- terraform-plugin-testing v1.14.0 -> v1.15.0
- terraform-plugin-sdk/v2 v2.38.1 -> v2.40.0
- Various other dependency updates

All tests passing with updated dependencies.
2026-03-10 13:39:26 -05:00
8babc54a16
docs: add organization resource examples for Terraform Registry
- Add examples/resources/towerops_organization/resource.tf
- Update examples/main.tf to include organization resource
- Terraform Registry will auto-generate docs from these examples
2026-03-10 13:34:42 -05:00
70c7a5cfbb
feat: allow setting organization name via Terraform
- Make 'name' field optional and computed in organization resource
- Include name in Create and Update operations when provided
- Name can only be changed by organization owners (enforced by API)
- Matches API capability to update organization name
- Backwards compatible: name remains optional

Example usage:
  resource "towerops_organization" "main" {
    name      = "My Organization"
    use_sites = true
  }
2026-03-10 13:32:56 -05:00
84bd97c120
Adding a device without an org id now works 2026-02-06 13:37:05 -06:00
4cdb96e189
feat: add site-less devices and SNMPv3 support
- Make site_id optional, add organization_id field
- Devices can be created without sites (directly in organization)
- Add SNMPv3 authentication and privacy fields
- Update documentation with new examples
2026-02-04 15:07:09 -06:00
eb6923c4b3
allow creating entities when they dont exist 2026-01-29 13:25:00 -06:00
233be61d3e
allow creating entities when they dont exist 2026-01-29 12:34:58 -06:00
3eef94f685
allow base url change 2026-01-26 14:00:20 -06:00
15b3af2a99
fix base url 2026-01-26 13:42:25 -06:00
3a970ac852
Name for devices is now optional 2026-01-26 13:36:06 -06:00
797fe93a9a
fix base url 2026-01-26 13:12:43 -06:00
897c9ae3d4
add documentation 2026-01-26 11:26:04 -06:00
50127766ff
ci fix 2026-01-26 11:23:16 -06:00
d365e770b4
add ci files 2026-01-26 11:20:49 -06:00
8fed566e22
init 2026-01-26 11:02:26 -06:00