---
name: generating-cloud-infrastructure-code-from-architecture-requi
description: "Generates cloud infrastructure templates from architecture requirements by consulting documentation, drafting repository files, and running local validation and linting checks. Use when an engineer needs reviewed infrastructure code before any provisioning."
license: CC-BY-4.0
compatibility: "Needs access to: Docs, GitHub, Terminal."
metadata:
  author: "BotBento Editorial"
  version: "2026-10-15"
  source: "https://botbento.com/usecases/generating-cloud-infrastructure-code-from-architecture-requi/"
  kind: skill
  hermes:
    tags: ["cloud", "iac", "devops", "infrastructure"]
    category: coding
    requires_toolsets: ["file", "terminal"]
---
# Generating cloud infrastructure code from requirements

Draft and validate cloud infrastructure templates from architecture requirements

## When to use

Search official technical documentation and best-practice guides to author verified cloud infrastructure templates. The bot analyzes service requirements, drafts configuration code, tests syntax locally via terminal commands, and prepares changes for engineer review before any resources are provisioned.

## Inputs

- `architecture_specification`: The infrastructure task and architecture requirements provided by the engineer.
- `repository_context` (optional): Existing repository files and manifests relevant to the requested infrastructure code.

## Steps

1. When you ask: Receive architecture specification (A person asks to generate cloud infrastructure code from an architecture specification.)
2. Query reference docs and draft code
3. Deliver validated templates for review

## Instructions

When given an infrastructure task, look up relevant architecture patterns and service constraints using available documentation tools. Draft the infrastructure templates and deployment manifests in the repository. Run validation checks and linting scripts in the terminal to ensure compliance. Never apply configurations, provision live resources, or execute destructive commands without explicit confirmation from the engineer.

## Approvals

- Applying configurations requires explicit confirmation from the engineer.
- Provisioning live resources requires explicit confirmation from the engineer.
- Executing destructive commands requires explicit confirmation from the engineer.

## Output

Validated infrastructure templates and deployment manifests prepared for engineer review. (format: file)

## Source

Summarized in our own words from [mcp: Open source MCP Servers for AWS](https://github.com/awslabs/mcp) (GitHub, checked 2026-10-15). Any results described there are the authors’ own.

From the BotBento use-case directory: https://botbento.com/usecases/generating-cloud-infrastructure-code-from-architecture-requi/. Licence: [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/).
