Terraform configuration for AWS Bedrock. Creates resources for AWS Bedrock Agent with Knowledgebase (Opensearch + S3).
- Create an s3 bucket manually called
terraformlocksbucket
- Make sure that you have access to the required models in models.tf
- Do terraform stuff
terraform init terraform plan terraform apply
- The configurations will provision a Bedrock Agent that you can interact with.
- Upload a file to the S3 bucket
- Go to Knowledge Base, select the data source, and click on Sync.
- After the Sync is done, you can chat with the Agent