| name | status |
| description | Show current state of OCI infrastructure — IPs, resources, drift |
| allowed-tools | Bash, Read, Grep, Glob |
Infrastructure Status
Show the current state of the deployed OCI infrastructure.
Steps
- Check if terraform state exists:
terraform -chdir=terraform/environments/oci-prod show (if it fails, tell the user nothing is deployed yet)
- Run
terraform -chdir=terraform/environments/oci-prod output to get all outputs
- Present a clean summary to the user:
- Instance public IP
- SSH connection command
- MySQL connection info
- Object Storage bucket name and S3 endpoint
- Which features are enabled (public access, block volume, HeatWave)
- If the user asks about drift, run
terraform -chdir=terraform/environments/oci-prod plan and report any differences between state and actual infrastructure