stacks/catalog/shared/s3-bucket.yaml
1 KB - 元のファイルを表示
# Catalog: S3 Bucket Component Defaults
# Shared storage for AI lab data processing
components:
terraform:
s3-bucket:
metadata:
component: s3-bucket
# S3 bucket for storing input/output data for AI services
vars:
enabled: true
namespace: "ai"
name: "data"
force_destroy: true
versioning_enabled: false
# Lifecycle rules for lab cleanup
lifecycle_rules:
- id: "cleanup-old-outputs"
enabled: true
expiration_days: 30
prefix: "output/"
- id: "cleanup-old-inputs"
enabled: true
expiration_days: 30
prefix: "input/"
# CORS for browser-based testing
cors_rules:
- allowed_headers: ["*"]
allowed_methods: ["GET", "PUT", "POST"]
allowed_origins: ["*"]
expose_headers: ["ETag"]
max_age_seconds: 3000
# Default folder structure
create_folders: true
folder_names:
- "input"
- "output"
- "models"
- "temp"
tags:
Project: "ai-hands-on-labs"
ManagedBy: "atmos"