Remove deprecated Amplify resources after CloudFront migration

- Comment out Amplify app, branches, and domain association
- Remove Amplify-related outputs
- Add migration notes for reference
- Amplify app deleted from AWS (dd6qls201bf9n)
This commit is contained in:
DaX
2025-10-31 02:07:14 +01:00
parent fc95dc4ed2
commit 1ce127c51c
2 changed files with 115 additions and 133 deletions

View File

@@ -1,22 +1,23 @@
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"
}
# ===== DEPRECATED: Amplify Outputs (removed after migration to CloudFront) =====
# 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