Skip to content

Commit

Permalink
Add PACKER_DEBUG variable to makefile for convenience
Browse files Browse the repository at this point in the history
  • Loading branch information
mebays committed Apr 16, 2024
1 parent 2803015 commit a6457af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ validate: ## Validate packer config
.PHONY: k8s
k8s: validate ## Build default K8s version of EKS Optimized AMI
@echo "Building AMI [os_distro=$(os_distro) kubernetes_version=$(kubernetes_version) arch=$(arch)]"
$(PACKER_BINARY) build -timestamp-ui -color=false $(PACKER_ARGS) $(PACKER_TEMPLATE_FILE)
$(PACKER_BINARY) build -timestamp-ui -color=false $(PACKER_ARGS)$(if $(PACKER_DEBUG),-debug) $(PACKER_TEMPLATE_FILE)

# DEPRECATION NOTICE: `make` targets for each Kubernetes minor version will not be added after 1.28
# Use the `k8s` variable to specify a minor version instead
Expand Down

0 comments on commit a6457af

Please sign in to comment.