File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ project_short_name = imms
99state_bucket = immunisation-preprod-terraform-state-files
1010tf_state = -backend-config="bucket=$(state_bucket ) "
1111
12- tf_vars = -var="project_name=$(project_name ) " -var="project_short_name=$(project_short_name ) " -var="profile= $( aws_profile ) " -var=" aws_account_name=$(ENVIRONMENT ) "
12+ tf_vars = -var="project_name=$(project_name ) " -var="project_short_name=$(project_short_name ) " -var="aws_account_name=$(environment ) "
1313
1414.PHONY : lock-provider workspace init plan apply clean destroy output state-list lambda-zip catch-all-zip
1515
@@ -19,7 +19,7 @@ lock-provider:
1919 $(tf_cmd ) providers lock -platform=darwin_arm64 -platform=darwin_amd64 -platform=linux_amd64 -platform=windows_amd64
2020
2121workspace :
22- $(tf_cmd ) workspace new $(ENVIRONMENT ) || $(tf_cmd ) workspace select $(ENVIRONMENT ) && echo " Switched to workspace/environment: $( ENVIRONMENT ) "
22+ $(tf_cmd ) workspace new $(environment ) || $(tf_cmd ) workspace select $(environment ) && echo " Switched to workspace/environment: $( environment ) "
2323
2424init :
2525 $(tf_cmd ) init $(tf_state ) -upgrade $(tf_vars )
4343destroy : workspace
4444 $(tf_cmd ) destroy $(tf_vars ) -auto-approve
4545 $(tf_cmd ) workspace select default
46- $(tf_cmd ) workspace delete $(ENVIRONMENT )
46+ $(tf_cmd ) workspace delete $(environment )
4747
4848output :
4949 $(tf_cmd ) output -raw $(name )
You can’t perform that action at this time.
0 commit comments