Skip to content

Commit

Permalink
docs(examples): Makefile Updates (#158)
Browse files Browse the repository at this point in the history
  • Loading branch information
jshlbrd authored Apr 10, 2024
1 parent 42677df commit 38a16ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
SUBSTATION_DIR ?= $(shell git rev-parse --show-toplevel 2> /dev/null)
SUBSTATION_VERSION ?= $(shell git describe --tags --always 2> /dev/null)
SUBSTATION_VERSION ?= $(shell git describe --tags --always --abbrev=0 2> /dev/null)
AWS_ACCOUNT_ID ?= $(shell aws sts get-caller-identity --query 'Account' --output text 2> /dev/null)
AWS_REGION ?= $(shell aws configure get region 2> /dev/null)

Expand Down Expand Up @@ -105,7 +105,7 @@ deploy-aws-infra:

deploy-aws-config:
@printf "$(FONT_RED)>> Deploying configurations to AppConfig with Python...$(FONT_RESET)\n"
@cd $(SUBSTATION_DIR) && SUBSTATION_CONFIG_DIRECTORY=examples/$(EXAMPLE) AWS_APPCONFIG_APPLICATION_NAME=substation AWS_APPCONFIG_ENVIRONMENT=example AWS_APPCONFIG_DEPLOYMENT_STRATEGY=Instant python3 build/scripts/aws/appconfig/appconfig_upload.py
@cd $(SUBSTATION_DIR) && SUBSTATION_CONFIG_DIRECTORY=examples/$(EXAMPLE) AWS_DEFAULT_REGION=$(AWS_REGION) AWS_APPCONFIG_APPLICATION_NAME=substation AWS_APPCONFIG_ENVIRONMENT=example AWS_APPCONFIG_DEPLOYMENT_STRATEGY=Instant python3 build/scripts/aws/appconfig/appconfig_upload.py

deploy-aws-post-script:
ifneq ("$(wildcard $(EXAMPLE)/post_deploy.sh)","")
Expand Down

0 comments on commit 38a16ba

Please sign in to comment.