awesome-claude-copilot: Instructions file for GitHub Copilot

.github/instructions/terraform.instructions.md

awesome-claude-copilot terraform.instructions.md is an instructions file for GitHub Copilot from RorroRojas3/awesome-claude-copilot. It costs 1,341 tokens per session, scanned A, original, MIT.

Conventions for using Terraform, a tool that describes and manages cloud infrastructure in configuration files. They focus on version control, provider updates, access control, and secret handling.

In plain words
What is it for?
Use them when writing or reviewing Terraform configurations for cloud resources, especially AWS access, secrets, variables, and infrastructure changes.
Why use it?
They help prevent credentials and other sensitive values from entering source control, Terraform state, or command output.

Instructions file for GitHub Copilot

Written for GitHub Copilot: a Copilot instructions file.

This is RorroRojas3/awesome-claude-copilot's own configuration. It tells GitHub Copilot how to work on awesome-claude-copilot itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything awesome-claude-copilot configures →

Reuse

Borrowing it

Nothing to install: this file belongs to RorroRojas3/awesome-claude-copilot. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/RorroRojas3/awesome-claude-copilot/main/.github/instructions/terraform.instructions.md
Clone the repo
git clone --depth 1 https://github.com/RorroRojas3/awesome-claude-copilot

Made for: GitHub Copilot.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for awesome-claude-copilot terraform.instructions.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/rorrorojas3/awesome-claude-copilot/terraform.svg)](https://agentmods.dev/instructions/rorrorojas3/awesome-claude-copilot/terraform)
Your own site
<a href="https://agentmods.dev/instructions/rorrorojas3/awesome-claude-copilot/terraform"><img src="https://agentmods.dev/badge/instructions/rorrorojas3/awesome-claude-copilot/terraform.svg" alt="Measured on agentmods" height="20"></a>
Per session 1,341 This file is loaded in full into every session.
When invoked 1,341 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.01341 $0.01341
Opus 5 $0.00671 $0.00671
Sonnet 5 $0.00268 $0.00268
Haiku 4.5 $0.00134 $0.00134

Measured 6d ago against content hash 73561e53f8e4, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

awesome-claude-copilot terraform.instructions.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 6d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.github/instructions/terraform.instructions.md · 113 lines

How it starts

The opening of the file, as written. The whole thing — 113 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Terraform Conventions

General Instructions

  • Use Terraform to provision and manage infrastructure.
  • Use version control for your Terraform configurations.

Security

  • Always use the latest stable version of Terraform and its providers.
    • Regularly update your Terraform configurations to incorporate security patches and improvements.
  • Store sensitive information in a secure manner, such as using AWS Secrets Manager or SSM Parameter Store.
    • Regularly rotate credentials and secrets.
    • Automate the rotation of secrets, where possible.
  • Use AWS environment variables to reference values stored in AWS Secrets Manager or SSM Parameter Store.
    • This keeps sensitive values out of your Terraform state files.
  • Never commit sensitive information such as AWS credentials, API keys, passwords, certificates, or Terraform state to version control.
    • Use .gitignore to exclude files containing sensitive information from version control.
  • Always mark sensitive variables as sensitive = true in your Terraform configurations.
    • This prevents sensitive values from being displayed in the Terraform plan or apply output.
  • Use IAM roles and policies to control access to resources.
    • Follow the principle of least privilege when assigning permissions.
  • Use security groups and network ACLs to control network access to resources.
  • Deploy resources in private subnets whenever possible.
    • Use public subnets only for resources that require direct internet access, such as load balancers or NAT gateways.
  • Use encryption for sensitive data at rest and in transit.
    • Enable encryption for EBS volumes, S3 buckets, and RDS instances.
    • Use TLS for communication between services.
  • Regularly review and audit your Terraform configurations for security vulnerabilities.
    • Use tools like trivy, tfsec, or checkov to scan your Terraform configurations for security issues.

Modularity

  • Use separate projects for each major component of the infrastructure; this:
    • Reduces complexity
    • Makes it easier to manage and maintain configurations
    • Speeds up plan and apply operations
    • Allows for independent development and deployment of components
    • Reduces the risk of accidental changes to unrelated resources
  • Use modules to avoid duplication of configurations.
    • Use modules to encapsulate related resources and configurations.
    • Use modules to simplify complex configurations and improve readability.
    • Avoid circular dependencies between modules.
    • Avoid unnecessary layers of abstraction; use modules only when they add value.
      • Avoid using modules for single resources; only use them for groups of related resources.
      • Avoid excessive nesting of modules; keep the module hierarchy shallow.
  • Use output blocks to expose important information about your infrastructure.
    • Use outputs to provide information that is useful for other modules or for users of the configuration.
    • Avoid exposing sensitive information in outputs; mark outputs as sensitive = true if they contain sensitive data.

Read the full file on GitHub · 113 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 6d ago First seen · 113 lines · 1,341 tokens per session scan A 73561e53f8e4

Subscribe to this mod's changes

awesome-claude-copilot terraform.instructions.md is an instructions file published in the GitHub repository RorroRojas3/awesome-claude-copilot (0 stars, last pushed 11d ago), licensed MIT. It adds 1,341 tokens to every session, about $0.0067 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-01.

Related

Other instructions, from other repositories