Prerequisites
Required tools
Section titled “Required tools”| Tool | Version | Purpose |
|---|---|---|
terraform | >= 1.5.0 | Infrastructure provisioning |
| v2 | Credential configuration, manual operations |
jq | any | JSON parsing in deploy scripts |
zip | any | Amplify deployment packaging |
curl | any | Amplify deployment upload |
python3 | 3.12+ | Local debug scripts (optional) |
AWS account requirements
Section titled “AWS account requirements”- An AWS account with programmatic access configured (environment variables or credentials file)
- IAM permissions to create: S3, S3 Vectors, Lambda, API Gateway, Cognito, Amplify, IAM roles, EventBridge, CloudWatch Logs
- Bedrock model access enabled (see next page)
AWS region
Section titled “AWS region”The demo deploys to a single region. The default is ap-southeast-2 (Sydney). Choose a region that supports:
- Amazon S3 Vectors
- Amazon Bedrock with Titan Embeddings V2
- Your preferred LLM inference profile
Clone the source repo
Section titled “Clone the source repo”git clone https://github.com/jajera/terraform-aws-s3-vectors-rag-demo.gitcd terraform-aws-s3-vectors-rag-demo