From 182b34f37bb20847745531eecb099de2a745ef44 Mon Sep 17 00:00:00 2001 From: "Matthew C. Morgan" Date: Tue, 13 May 2025 18:40:42 -0400 Subject: [PATCH] add aws-logs output --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d16fa8b..d116427 100644 --- a/Makefile +++ b/Makefile @@ -92,10 +92,13 @@ deploy-to-pipeline: @echo "Upload complete. Pipeline should trigger automatically." @echo "Calculating pipeline URL..." - $(eval PIPELINE_NAME=eks-$(CLUSTER_NAME)-pipeline) + $(eval PIPELINE_NAME=eks-$(CLUSTER_NAME)-codepipeline) $(eval PIPELINE_URL=https://console.amazonaws-us-gov.com/codesuite/codepipeline/pipelines/$(PIPELINE_NAME)/view?region=$(AWS_REGION)) @echo "Pipeline URL: $(PIPELINE_URL)" @echo "You can access the pipeline directly at the URL above." @echo "Cleaning up local zip file..." rm -f platform-tg-infra.zip + + @echo "Tailing Pipeline Logs:" + aws logs tail /aws/codebuild/$(PIPELINE_NAME) --profile $(AWS_PROFILE)