From 8babc54a16a7f7c4bdee41ea6f1446da21d3a835 Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Tue, 10 Mar 2026 13:34:42 -0500 Subject: [PATCH] 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 --- examples/main.tf | 6 ++++++ examples/resources/towerops_organization/resource.tf | 4 ++++ 2 files changed, 10 insertions(+) create mode 100644 examples/resources/towerops_organization/resource.tf diff --git a/examples/main.tf b/examples/main.tf index b035f7f..5d2fcc0 100644 --- a/examples/main.tf +++ b/examples/main.tf @@ -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" diff --git a/examples/resources/towerops_organization/resource.tf b/examples/resources/towerops_organization/resource.tf new file mode 100644 index 0000000..3ba78fd --- /dev/null +++ b/examples/resources/towerops_organization/resource.tf @@ -0,0 +1,4 @@ +resource "towerops_organization" "example" { + name = "ACME Corporation" + use_sites = true +}