docs: switch CLAUDE.md from terraform to opentofu/tofu commands

This commit is contained in:
Graham McIntire 2026-06-27 15:35:15 -05:00
parent 5d3c4259e8
commit 3c30faa244
No known key found for this signature in database
GPG key ID: F4ABF488E6029E59

View file

@ -4,28 +4,28 @@ This file provides guidance to Claude Code (claude.ai/code) when working with co
## Overview ## 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 ## Commands
```bash ```bash
# Initialize Terraform (downloads provider) # Initialize OpenTofu (downloads provider)
terraform init tofu init
# Preview changes # Preview changes
terraform plan tofu plan
# Apply changes # Apply changes
terraform apply tofu apply
# Destroy all resources # Destroy all resources
terraform destroy tofu destroy
# Format Terraform files # Format files
terraform fmt tofu fmt
# Validate configuration # Validate configuration
terraform validate tofu validate
``` ```
## Authentication ## Authentication
@ -55,7 +55,6 @@ Note: Changing `site_id` forces resource replacement.
## Import Existing Resources ## Import Existing Resources
```bash ```bash
terraform import towerops_site.example <uuid> tofu import towerops_site.example <uuid>
terraform import towerops_device.example <uuid> tofu import towerops_device.example <uuid>
``` ```
- use opentofu