diff --git a/.tf/main.tf b/.tf/main.tf index 8cd7d6e..0de11e5 100644 --- a/.tf/main.tf +++ b/.tf/main.tf @@ -377,11 +377,6 @@ resource "aws_route53_record" "yo_api_cname" { /* Output Variables */ /* ------------------------- */ -output "api_gateway_url" { - description = "The URL of the API Gateway" - value = "${aws_api_gateway_deployment.yo_api_deployment.invoke_url}" -} - output "lambda_function_arn" { description = "The ARN of the Lambda function" value = "${aws_lambda_function.yo_api_lambda.arn}" @@ -392,6 +387,11 @@ output "cloudwatch_log_group" { value = aws_cloudwatch_log_group.yo_api_loggroup.name } +output "api_gateway_url" { + description = "The URL of the API Gateway" + value = "${aws_api_gateway_deployment.yo_api_deployment.invoke_url}" +} + output "route53_record" { description = "The Route 53 DNS record" value = "https://${aws_route53_record.yo_api_cname.fqdn}"