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
This commit is contained in:
Graham McIntire 2026-03-10 13:34:42 -05:00
parent 70c7a5cfbb
commit 8babc54a16
No known key found for this signature in database
2 changed files with 10 additions and 0 deletions

View file

@ -16,6 +16,12 @@ provider "towerops" {
token = var.towerops_api_token
}
# Manage organization settings
resource "towerops_organization" "main" {
name = "My Organization"
use_sites = true
}
# Create a site
resource "towerops_site" "main_office" {
name = "Main Office"

View file

@ -0,0 +1,4 @@
resource "towerops_organization" "example" {
name = "ACME Corporation"
use_sites = true
}