- Fixed Terraform outputs - Configured AWS Amplify deployment - Ready for production deployment
21 lines
583 B
HCL
21 lines
583 B
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"
|
|
}
|
|
|