Labs · Intermediate · 2 hours

Terraform Bedrock Module

Build a reusable Terraform module for Bedrock inference profiles with IAM least-privilege.

Lab infrastructure
Lab environment — cluster, gateway, and inference service.

Goal

One module call per environment: dev, staging, prod.

Lab screenshot

Export model ARNs and guardrail IDs as structured outputs for CI pipelines.

AI is easy. Running it in production is hard.