diff --git a/ecs/appconfig.tf b/ecs/appconfig.tf index eef0d8b..093f42f 100644 --- a/ecs/appconfig.tf +++ b/ecs/appconfig.tf @@ -47,22 +47,6 @@ EMAIL_FROM_ADDRESS=ashirt@${aws_route53_record.frontend.name} EMAIL_USER_NAME= EMAIL_PASSWORD= EMAIL_SMTP_AUTH_TYPE=login +DB_URI=ashirt:${random_password.db_password.result}@tcp(${aws_rds_cluster.ashirt.endpoint}:3306)/ashirt EOT } - -resource "aws_s3_object" "appenv" { - bucket = aws_s3_bucket.env.id - key = "app/.env" - content = <