terraform boundary

    1

    Enforce human-in-the-loop cloud deployment and security gates for Agentic-AI-Systems infrastructure.

    Free

    Security scanned

    Works with the AI Agents you already use

    Claude CodeClaude CodeCursorCursorCodex CLICodex CLIMuseMuseDotsDots+21 more

    terraform boundary

    Example session with this skill installed

    I need to add a new read-only weather tool to my AWS agent infrastructure in the dev environment. Fetch the tree and prepare the change.

    • Read your context and instructions
    • Compiled the terraform boundary

    I have fetched the AWS infrastructure tree and initialized the boundary checks. The environment is clean and ready for the new tool definition.

    Infrastructure Initialization

    ActionResult
    Fetch Treeterraform-aws/ successfully created from pinned release v0.1.0
    Pillar 1 CheckGuard hook verified. Lock 1 active.
    Initial Gateboundary.sh check passed. 0 violations found.
    Target Fileterraform-aws/envs/dev/main.tf

    Security Review (Draft)

    1. Compromised orchestrator: No new write access. The tool is labeled read.
    2. Prompt-injected model: No path to write tools created.
    3. Leaked approval claim: N/A (Read-only tool).
    4. Terraform change: AWS identity policy remains restricted to ReadOnlyAccess.

    Next steps

    1. Add the tool ARN to tool_function_arns in your dev environment.
    2. Run scripts/boundary.sh check to verify the new configuration.
    3. Use the generated evidence record to proceed to human approval.

    Connects securely to your tools. The creator never sees your data.

    About this skill

    Standard infrastructure as code often lacks the strict guardrails needed for agentic systems. This skill enforces a human-in-the-loop deployment boundary for AI infrastructure built on the Agentic-AI-Systems framework. It prevents agents from modifying their own cloud resources while providing a verifiable audit trail for regulated environments.

    What it does

    • Enforce human-only execution by blocking state-changing Terraform commands within the agent's environment.
    • Implement security gates that validate every infrastructure change against a predefined threat model.
    • Verify cloud boundaries across AWS, Azure, GCP, and Snowflake to ensure write tools are unreachable by the agent orchestrator.
    • Generate evidence records including security reviews and compliance checklists for regulated deployments.
    • Pin infrastructure versions to a specific release of Agentic-AI-Systems to prevent configuration drift.

    How it works

    1. Initialize the tree by fetching a specific cloud infrastructure template and running initial safety checks.
    2. Modify configuration within local environment directories to add tools or adjust resource sizing.
    3. Run security gates using the boundary.sh check command to verify that no security properties were compromised by edits.
    4. Draft evidence by completing the security review and compliance checklists required for the audit log.
    5. Preview and handoff by generating a plan with read-only credentials and providing the exact command for a human to apply.

    Frameworks & tools

    This skill uses Terraform and Open Policy Agent (OPA). It integrates with AWS, Azure, GCP, and Snowflake. It requires conftest for policy enforcement and python3 for the guard hook.

    Why this beats prompting it yourself

    Standard prompts cannot stop an agent from executing a shell command if the model ignores the instruction. This skill uses a Python-based guard hook that intercepts and blocks unauthorized binaries at the process level. It moves security from a "suggestion" to an identity-enforced property of the cloud platform.

    Use cases

    • Deploying a production AI agent in a regulated industry like finance or healthcare.
    • Implementing a "least privilege" architecture for an agent that needs to call external APIs.
    • Creating an audit trail for infrastructure changes performed by an AI assistant.
    • Testing new agent tools in a sandbox without risking account-wide credentials.

    Known limitations

    Does not support remote state backends, .tf.json files, or Terraform provisioners. Requires a local installation of the guard.py hook to function.

    Requires local Python guard hook installation. No support for remote state, symlinks, or Terraform provisioners. Limited to Agentic-AI-Systems v0.1.0 tree.

    How to use

    1. 1

      Connect your agent to the Agensi MCP

      Copy the prompt and paste it into Claude, ChatGPT, Cursor or any agent that supports MCP. It sets up the connection for you. Manual setup

    2. 2

      Sign in to Agensi

      Your agent shows a sign-in link. Sign in and click Allow.

    3. 3

      Ask for what you need

      Your agent loads this skill and uses it on your task. It always asks before any payment.

    Reviews

    No reviews yet

    Be one of the first to try it. Every listed skill goes through the trust checks below.

    Security scanned

    Checked by our 8-point scan before listing

    Fresh listing

    Recently published to Agensi

    Free forever

    No account required to browse

    Trust & safety

    Security scan

    Security scan passed 21 days ago

    • Free with an Agensi account

    Requires

    GitHub
    Conftest
    Hashicorp

    Permissions

    Terminal / Shell
    Network Access
    Read Files
    Write Files

    Allowed Hosts

    github.com
    www.conftest.dev
    developer.hashicorp.com
    Listed21 days ago

    What's inside

    Frequently Asked Questions

    This skill uses a Python-based guard hook to physically block unauthorized Terraform binaries at the process level, ensuring the agent cannot modify its own cloud resources even if it ignores its prompting instructions.

    The skill includes a pre-configured policy engine using Open Policy Agent (OPA) and Conftest, specifically tuned to detect and block insecure infrastructure changes across AWS, Azure, GCP, and Snowflake.

    Yes, it is specifically designed for regulated environments like finance and healthcare, generating automated evidence records and compliance checklists for every proposed infrastructure change.

    The purchase includes the Terraform boundary templates, the Python guard hook, security policy files (OPA/Rego), and the command-line utility for generating human-in-the-loop handoff records.

    While it integrates with major cloud providers, it requires a local environment to run the `guard.py` hook and currently does not support remote state backends or Terraform provisioners.

    New in DevOps & Cloud