Using the Terracotta AI Bot in Pull Requests
π€ Using the Terracotta AI Bot in Your PR
The Terracotta AI bot is always available in your pull request to provide real-time, contextual support for infrastructure-related questions.
π What It Can Do
The bot can answer questions related to:
-
Terraform syntax, modules, resources, and usage
-
CDK for Terraform (CDK-TF) in TypeScript
-
Cloud provider services like AWS, GCP, Azure
-
Contextual understanding of your PR, including:
- The full diff
- The surrounding IaC code
- The overall repository structure
This means you can ask about:
- Why a particular line in the PR might cause a misconfiguration
- What a specific module does
- How does a change impact the infrastructure as a whole
- Security or cost implications of changes
π¬ How to Ask Questions
You can engage with the bot directly inside a PR comment:
- Mention the bot directly:
@try-terracotta What does this IAM role allow?
- Use the
tc:
shorthand:
tc: What resources will be created from this diff?
The bot will respond contextually within the same thread, utilizing knowledge of your repository and IaC tooling.
Tip: The bot understands context across the repo, so feel free to ask even high-level architecture or drift-related questions.
Updated 28 days ago