Skip to content

Latest commit

 

History

History
164 lines (95 loc) · 4.76 KB

README.md

File metadata and controls

164 lines (95 loc) · 4.76 KB

terraform-aws-bedrock-agent

Terraform module for Amazon Bedrock Agent resources

lint test Tag License

Providers

Name Version
aws ~> 5.73
opensearch ~> 2.2
time ~> 0.12

Requirements

Name Version
terraform ~> 1.3
aws ~> 5.73
opensearch ~> 2.2
time ~> 0.12

Required Inputs

The following input variables are required:

Description: Name for the agent.

Type: string

Description: Name for the agent alias.

Type: string

Description: Model identifier for agent.

Type: string

Description: Name for the knowledgebase.

Type: string

Description: Description for the knowledgebase.

Type: string

Description: ARN of S3 bucket with data

Type:

object({
    bucket_arn              = string
    bucket_owner_account_id = optional(string)
    inclusion_prefixes      = optional(set(string))
  })

Description: Name of OpenSearch Serverless Collection.

Type: string

Optional Inputs

The following input variables are optional (have default values):

Description: Description for the agent alias.

Type: string

Default: null

Description: Model identifier for agent.

Type: string

Default: "anthropic.claude-v2"

Description: Model identifier for Knowledgebase.

Type: string

Default: "amazon.titan-embed-text-v1"

Description: Data deletion policy for a data source. Valid values: RETAIN, DELETE

Type: string

Default: "RETAIN"

Description: Additional ARNs of roles to access OpenSearch

Type: list(string)

Default: []

Description: A map of tags to assign to the customization job and custom model.

Type: map(string)

Default: {}

Outputs

Name Description
agent Information about created Bedrock Agent
agent_alias Information about created Bedrock Agent Alias
knowledge_base Information about created Bedrock Knowledgebase
oss_collection Information about created OpenSearch Serverless collection

License

MIT License

Copyright (c) 2024 Flaconi GmbH