From 1d797537455e1ebece9f94b49c81eba26e6481b6 Mon Sep 17 00:00:00 2001 From: Isa Farnik Date: Fri, 21 Oct 2022 16:37:27 -0700 Subject: [PATCH] feat(aws): add created-via targeting tag (#562) This will ease in the removal of orphaned arm builder EC2 instances. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2439044c..07eebf8d 100644 --- a/Makefile +++ b/Makefile @@ -180,7 +180,7 @@ else ifeq ($(BUILDX),true) --amazonec2-ami $(AWS_AMI) \ --amazonec2-vpc-id $(AWS_VPC) \ --amazonec2-monitoring \ - --amazonec2-tags created-by,${USER} ${DOCKER_MACHINE_ARM64_NAME} + --amazonec2-tags created-by,${USER},created-via,kong-build-tools ${DOCKER_MACHINE_ARM64_NAME} docker context create ${DOCKER_MACHINE_ARM64_NAME} --docker \ host=tcp://`docker-machine config ${DOCKER_MACHINE_ARM64_NAME} | grep tcp | awk -F "//" '{print $$2}'`,\ ca=`docker-machine config ${DOCKER_MACHINE_ARM64_NAME} | grep tlscacert | awk -F "=" '{print $$2}' | tr -d "\""`,\