Skip to content

Bedrock Knowledge Base - Add S3 Vectors storage_configuration #44871

Description

@praveenjaikant

Description

AWS Bedrock Knowledge Bases Now Supports S3 Vectors as Vector Store option - would like to see this added. The Terraform module currently supports OpenSearch Serverless, Pinecode, Redis and RDS.

Affected Resource(s) or Data Source(s)

  • aws_bedrockagent_knowledge_base

Potential Terraform Configuration

resource "aws_bedrockagent_knowledge_base" "example" {
  name     = "example"
  role_arn = aws_iam_role.example.arn
  knowledge_base_configuration {
    vector_knowledge_base_configuration {
      embedding_model_arn = "arn:aws:bedrock:us-west-2::foundation-model/amazon.titan-embed-text-v2:0"
    }
    type = "VECTOR"
  }
  storage_configuration {
    type = "S3_VECTORS"
    s3vectors_configuration {
      s3_vector_bucket_arn  = "arn:aws:s3vectors:us-east-1:123456789012:bucket/test-s3-vector-bucket"
      vector_index_arn = "arn:aws:s3vectors:us-east-1:123456789012:bucket/test-s3-vector-bucket/index/test-index"
      }
    }
  }
}

References

No response

Would you like to implement the enhancement?

No

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementRequests to existing resources that expand the functionality or scope.service/bedrockagentIssues and PRs that pertain to the bedrockagent service.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions