stacks/catalog/shared/lambda.yaml
1 KB - मूल फ़ाइल देखें
# Catalog: Lambda Component Defaults
# Lambda function for AI service integration
components:
terraform:
lambda:
metadata:
component: lambda
# Lambda function for AI service orchestration
vars:
enabled: true
namespace: "ai"
name: "processor"
# Function configuration
handler: "index.handler"
runtime: "python3.12"
timeout: 300
memory_size: 512
# Source code: when filename is null the component zips ./src/ from
# within the lambda component directory (see archive_file in main.tf).
# Set filename to override with a pre-built zip.
filename: null
s3_bucket: null
s3_key: null
# IAM role: when null the component creates a basic execution role.
# For Lab 06 this is overridden with !terraform.output iam-role to
# grant the orchestrator full AI-service permissions.
role_arn: null
# S3 trigger disabled by default
s3_trigger_enabled: false
s3_trigger_bucket_id: null
s3_trigger_bucket_arn: null
s3_trigger_events: ["s3:ObjectCreated:*"]
s3_trigger_prefix: "input/"
s3_trigger_suffix: ""
# EventBridge schedule disabled by default
schedule_expression: null
# Environment variables
environment_variables: {}
tags:
Project: "ai-hands-on-labs"
ManagedBy: "atmos"