openclaw/workers/clawdbot-aws/terraform/secrets.tf
Shunsuke Hayashi 8ffe18aaee feat(aws): migrate Discord token to Secrets Manager and fix infrastructure
- Add Secrets Manager integration for Discord bot token
- Add aws_account_id and discord_token_secret_name variables
- Update ECS task definition to use Secrets Manager
- Add IAM policy for Secrets Manager access
- Fix Dockerfile .buildstamp generation for Linux compatibility
- Change VPC CIDR to 100.64.0.0/16 to avoid conflicts
- Add deployment documentation and .env.example

Co-Authored-By: Claude <noreply@anthropic.com>
2026-01-26 13:08:57 +09:00

9 lines
191 B
HCL

/**
* AWS Secrets Manager Data Sources
*/
# Discord Bot Token from Secrets Manager
data "aws_secretsmanager_secret_version" "discord_token" {
secret_id = var.discord_token_secret_name
}