- 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>
9 lines
191 B
HCL
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
|
|
}
|