Skip to content

Latest commit

 

History

History
37 lines (21 loc) · 1.23 KB

File metadata and controls

37 lines (21 loc) · 1.23 KB

Agent Instructions

Repository Purpose

OpenTofu root module for GitHub organization infrastructure.

Push Access

Agents are authorized to push directly to main in this repository.

Pre-commit Configuration

Pre-commit configuration is centralized in makeitworkcloud/images/tfroot-runner/pre-commit-config.yaml. The CI workflow fetches this config at runtime.

Do not create or modify .pre-commit-config.yaml in this repository.

For local development, run:

make test

This automatically fetches the canonical config if not present.

CI/CD

This repo uses the shared opentofu.yml workflow from shared-workflows. It runs on ubuntu-latest with the tfroot-runner container from GHCR.

Failure Modes

"manifest unknown" error: The tfroot-runner:latest image doesn't exist in GHCR. Check if the images repo Build workflow succeeded.

Pre-commit failures: If hooks fail unexpectedly, the canonical config may have changed. Delete .pre-commit-config.yaml locally and re-run make test to fetch the latest.

Related Repositories

  • images - Contains tfroot-runner image and canonical pre-commit config
  • shared-workflows - Contains the reusable OpenTofu workflow and canonical pre-commit config