Skip to content

Prerequisites

ToolVersionPurpose
terraform>= 1.5.0Infrastructure provisioning

aws CLI

v2Credential configuration, manual operations
jqanyJSON parsing in deploy scripts
zipanyAmplify deployment packaging
curlanyAmplify deployment upload
python33.12+Local debug scripts (optional)
  • 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)

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
Terminal window
git clone https://github.com/jajera/terraform-aws-s3-vectors-rag-demo.git
cd terraform-aws-s3-vectors-rag-demo