Skip to content

Commit f081678

Browse files
committed
Makefile set default
1 parent 69e951f commit f081678

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/pr-deploy-to-int.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ jobs:
4444
- name: Terraform Plan
4545
working-directory: ./terraform_old
4646
run: |
47-
make plan environment=green aws_account_no=int
47+
make plan environment=green aws_account_name=int
4848
4949
# - name: Set up Python
5050
# id: setup_python

terraform_old/Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
-include .env
22

3-
environment = $(ENVIRONMENT)
4-
aws_profile = $(AWS_PROFILE) #apim-dev # Leave this here for pipeline
3+
environment ?= $(ENVIRONMENT)
4+
aws_profile ?= $(AWS_PROFILE) #apim-dev # Leave this here for pipeline
55
tf_cmd = $(if $(AWS_PROFILE),AWS_PROFILE=$(AWS_PROFILE) ,)terraform
66

77
project_name = immunisation

0 commit comments

Comments
 (0)