Add AWS Bedrock Agent Terraform module - #37
Open
llama90 wants to merge 4 commits into
Open
Conversation
This module provides production-ready configuration for AWS Agents for Amazon Bedrock: - Managed AI agent creation with foundation model integration - Action groups for Lambda function and API integrations - Knowledge base associations for RAG capabilities - Agent aliases for stable versioning - Custom prompt override configuration - Automatic IAM role management with least-privilege permissions - Session management and timeout configuration Features: - Support for multiple action groups (up to 10) - Knowledge base integration for context-aware responses - Lambda permission management for action groups - Comprehensive outputs including invocation examples - Support for Claude 3.5 Sonnet, Opus, Haiku models Includes: - Complete module implementation (main.tf, variables.tf, outputs.tf) - Basic test: Simple conversational agent - Advanced test: Full agent with action groups, knowledge bases, and Lambda integrations - Comprehensive documentation with use cases and code examples
Contributor
|
✅ Terraform formatting has been automatically applied to this PR. |
Contributor
🔍 Terraform Check Results📊 Summary✅ All checks passed!
🔍 TFLint Details (0 issue(s))🔒 Trivy Security Details (21 issue(s))👤 Pusher: @llama90 | 🔄 Action: |
Remove data source dependencies that require API calls: - Remove aws_caller_identity and aws_region data sources - Remove IAM role condition constraints that required account_id/region - Replace account/region-specific ARNs with wildcards (*) - Remove region and account_id outputs This allows terraform plan to run without actual AWS credentials.
Contributor
🔍 Terraform Check Results📊 Summary✅ All checks passed!
🔍 TFLint Details (0 issue(s))🔒 Trivy Security Details (21 issue(s))👤 Pusher: @llama90 | 🔄 Action: |
- Reduce from 600+ lines to ~60 lines (ultra-minimal) - Remove verbose use cases and tutorials - Remove duplicated code examples - Add terraform-docs section with <details> - Follow exact structure: Features, Quick Start, Examples, Testing, Docs - Limit features to 8 items - Reference tests/ instead of duplicating code Follows DOCUMENTATION_GUIDELINES.md pattern like ec2 module.
Contributor
🔍 Terraform Check Results📊 Summary✅ All checks passed!
🔍 TFLint Details (0 issue(s))🔒 Trivy Security Details (21 issue(s))👤 Pusher: @llama90 | 🔄 Action: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This module provides production-ready configuration for AWS Agents for Amazon Bedrock:
Features:
Includes:
Type of Change
Checklist
Module Information
Module Path:
terraform/___________Purpose:
Key Resources:
Additional Notes
Related Issues
Closes #