From 3c30faa244d2c8dc732b732f6289e09774f514b8 Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Sat, 27 Jun 2026 15:35:15 -0500 Subject: [PATCH] docs: switch CLAUDE.md from terraform to opentofu/tofu commands --- CLAUDE.md | 25 ++++++++++++------------- 1 file changed, 12 insertions(+), 13 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index c7e8f90..3fe5199 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -4,28 +4,28 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co ## Overview -This is a Terraform configuration for managing TowerOps network monitoring resources. It uses the custom `towerops` Terraform provider to create and manage sites and devices in the TowerOps platform. +This is an OpenTofu configuration for managing TowerOps network monitoring resources. It uses the custom `towerops` provider to create and manage sites and devices in the TowerOps platform. ## Commands ```bash -# Initialize Terraform (downloads provider) -terraform init +# Initialize OpenTofu (downloads provider) +tofu init # Preview changes -terraform plan +tofu plan # Apply changes -terraform apply +tofu apply # Destroy all resources -terraform destroy +tofu destroy -# Format Terraform files -terraform fmt +# Format files +tofu fmt # Validate configuration -terraform validate +tofu validate ``` ## Authentication @@ -55,7 +55,6 @@ Note: Changing `site_id` forces resource replacement. ## Import Existing Resources ```bash -terraform import towerops_site.example -terraform import towerops_device.example -``` -- use opentofu \ No newline at end of file +tofu import towerops_site.example +tofu import towerops_device.example +``` \ No newline at end of file