/aws-bedrock-configs

Terraform configuration for AWS Bedrock

Primary LanguageHCLMIT LicenseMIT

aws-bedrock-configs

Terraform configuration for AWS Bedrock. Creates resources for AWS Bedrock Agent with Knowledgebase (Opensearch + S3).

Deploy

  • Create an s3 bucket manually called terraformlocksbucket
  • Make sure that you have access to the required models in models.tf
  • Change the value of the variable unique_number to something random - to make s3 bucket name unique (required by AWS).
  • Do terraform stuff
    terraform init
    terraform plan
    terraform apply

Usage

  • 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