Terraform Aws Bedrock Platform

C+ 78 completed
Devops
infrastructure / markdown · tiny
36
Files
2,181
LOC
0
Frameworks
3
Languages

Pipeline State

completed
Run ID
#352779
Phase
done
Progress
1%
Started
Finished
2026-04-13 01:31:02
LLM tokens
0

Pipeline Metadata

Stage
Skipped
Decision
skip_scaffold_dup
Novelty
34.34
Framework unique
Isolation
Last stage change
2026-04-16 18:15:42
Deduplication group #49050
Member of a group with 1 similar repo(s) — canonical #93014 view group →
Top concepts (2)
Project DescriptionDocumentation
Provenance: Repobility (https://repobility.com) — every score reproducible from /scan/

AI Prompt

Create a Terraform module to deploy a complete Amazon Bedrock RAG platform on AWS. I need this to provision all necessary components, including Knowledge Bases, Agents, Guardrails, and OpenSearch Serverless for vector storage. The architecture should support end-users interacting with foundation models via agents, which utilize knowledge bases fed by S3 data sources. Please ensure the setup also includes logging for model invocations to an S3 bucket.
terraform aws bedrock rag infrastructure aws-bedrock terraform-aws llm aws-services
Generated by gemma4:latest

Catalog Information

Deploy a complete Amazon Bedrock RAG platform using Terraform.

Description

This Terraform module provisions a full Amazon Bedrock architecture that includes agents, guardrails, knowledge bases, and vector storage. It sets up Bedrock agents powered by foundation models such as Claude and Titan, and connects them to OpenSearch Serverless for efficient retrieval. Guardrails enforce content, topic, and PII filters to keep interactions safe. All model invocations are logged to an S3 bucket for audit and monitoring. The module is designed for teams building AI‑powered applications that require scalable, secure, and compliant inference pipelines.

الوصف

يُنشئ هذا الموديول بنية تحتية شاملة لمنصة Bedrock على AWS، مع تكامل كامل للذكاء الاصطناعي عبر Retrieval‑Augmented Generation. يتضمن الموديول وكلاء Bedrock مدعومين بنماذج أساسية مثل Claude وTitan، ويُربطهم بخدمة OpenSearch Serverless لتخزين واسترجاع المتجهات بكفاءة عالية. كما يضيف طبقة أمان عبر الحواجز (Guardrails) التي تطبق فلاتر المحتوى، والمواضيع المحظورة، والبيانات الشخصية. تُسجَّل جميع استدعاءات النماذج في حاوية S3 لتوفير سجلات شاملة للامتثال والمراقبة. يتيح هذا الإعداد للفرق إنشاء تطبيقات ذكاء اصطناعي قابلة للتوسع، آمنة، ومتوافقة مع المعايير التنظيمية، مع توفير واجهة سهلة للتكامل مع أنظمة أخرى.

Novelty

6/10

Tags

cloud-infrastructure aws-bedrock rag-architecture knowledge-base model-logging guardrails vector-storage

Claude Models

claude-opus-4.6

Quality Score

C+
78.0/100
Structure
74
Code Quality
100
Documentation
55
Testing
55
Practices
78
Security
100
Dependencies
50

Strengths

  • CI/CD pipeline configured (github_actions)
  • Consistent naming conventions (snake_case)
  • Low average code complexity \u2014 well-structured code
  • Good security practices \u2014 no major issues detected
  • Properly licensed project

Recommendations

  • Add a linter configuration to enforce code style consistency

Security & Health

4.1h
Tech Debt (D)
A
OWASP (100%)
PASS
Quality Gate
A
Risk (4)
Powered by Repobility — scan your code at https://repobility.com
MIT
License
0.0%
Duplication
Full Security Report AI Fix Prompts SARIF SBOM

Languages

markdown
52.0%
html
39.4%
yaml
8.6%

Frameworks

None detected

Concepts (2)

Per-row analysis by Repobility · https://repobility.com
CategoryNameDescriptionConfidence
Repobility · code-quality intelligence platform · https://repobility.com
auto_descriptionProject DescriptionTerraform module for deploying a comprehensive Amazon Bedrock platform with Knowledge Bases, Agents, Guardrails, OpenSearch Serverless vector storage, and model invocation logging.80%
auto_categoryDocumentationdocs70%

Quality Timeline

1 quality score recorded.

View File Metrics

Embed Badge

Add to your README:

![Quality](https://repos.aljefra.com/badge/76891.svg)
Quality BadgeSecurity Badge
Export Quality CSVDownload SBOMExport Findings CSV