Remove decorative icons and update CORS configuration
This commit is contained in:
@@ -18,17 +18,28 @@ output "custom_domain_url" {
|
||||
value = var.domain_name != "" ? "https://${var.domain_name}" : "Not configured"
|
||||
}
|
||||
|
||||
output "api_url" {
|
||||
description = "API Gateway URL"
|
||||
value = aws_api_gateway_stage.api.invoke_url
|
||||
output "rds_endpoint" {
|
||||
value = aws_db_instance.filamenteka.endpoint
|
||||
description = "RDS instance endpoint"
|
||||
}
|
||||
|
||||
output "dynamodb_table_name" {
|
||||
description = "DynamoDB table name"
|
||||
value = aws_dynamodb_table.filaments.name
|
||||
output "rds_database_name" {
|
||||
value = aws_db_instance.filamenteka.db_name
|
||||
description = "Database name"
|
||||
}
|
||||
|
||||
output "api_custom_url" {
|
||||
description = "Custom API URL via Cloudflare"
|
||||
value = var.domain_name != "" && var.cloudflare_api_token != "" ? "https://api.${var.domain_name}" : "Use api_url output instead"
|
||||
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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user