- Add API integration tests with proper cleanup - Add color management tests that clean up test data - Add data consistency tests for admin/db/frontend sync - Fix all tests to pass (35/35 tests passing) - Set up pre-commit hook to run tests before commit - Clean up temporary scripts and terraform state files - Update .gitignore to prevent temporary files - Fix TextEncoder issue in Jest environment - Ensure test colors with 'Test' prefix are always cleaned up - Update security check to exclude test files 🤖 Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
62 lines
1.7 KiB
HCL
62 lines
1.7 KiB
HCL
output "app_id" {
|
|
description = "The ID of the Amplify app"
|
|
value = aws_amplify_app.filamenteka.id
|
|
}
|
|
|
|
output "app_url" {
|
|
description = "The default URL of the Amplify app"
|
|
value = "https://main.${aws_amplify_app.filamenteka.default_domain}"
|
|
}
|
|
|
|
output "dev_url" {
|
|
description = "The development branch URL"
|
|
value = "https://dev.${aws_amplify_app.filamenteka.default_domain}"
|
|
}
|
|
|
|
output "custom_domain_url" {
|
|
description = "The custom domain URL (if configured)"
|
|
value = var.domain_name != "" ? "https://${var.domain_name}" : "Not configured"
|
|
}
|
|
|
|
output "rds_endpoint" {
|
|
value = aws_db_instance.filamenteka.endpoint
|
|
description = "RDS instance endpoint"
|
|
}
|
|
|
|
output "rds_database_name" {
|
|
value = aws_db_instance.filamenteka.db_name
|
|
description = "Database name"
|
|
}
|
|
|
|
output "rds_username" {
|
|
value = aws_db_instance.filamenteka.username
|
|
description = "Database username"
|
|
}
|
|
|
|
output "rds_password_secret_arn" {
|
|
value = aws_secretsmanager_secret.db_credentials.arn
|
|
description = "ARN of the secret containing the database password"
|
|
}
|
|
|
|
output "database_url" {
|
|
value = "postgresql://${aws_db_instance.filamenteka.username}:[PASSWORD]@${aws_db_instance.filamenteka.endpoint}/${aws_db_instance.filamenteka.db_name}"
|
|
description = "Database connection URL (replace [PASSWORD] with actual password from Secrets Manager)"
|
|
sensitive = true
|
|
}
|
|
|
|
output "ecr_repository_url" {
|
|
value = aws_ecr_repository.api.repository_url
|
|
description = "ECR repository URL for API Docker images"
|
|
}
|
|
|
|
output "api_instance_id" {
|
|
value = aws_instance.api.id
|
|
description = "API EC2 instance ID"
|
|
}
|
|
|
|
output "aws_region" {
|
|
value = var.aws_region
|
|
description = "AWS Region"
|
|
}
|
|
|