Skip to content

Commit

Permalink
Change argument order in Makefile to fix assume_role & typo fix
Browse files Browse the repository at this point in the history
  • Loading branch information
pkprzekwas committed Apr 4, 2023
1 parent 1949510 commit 0088b5d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions infra/aws/terraform/prow-build-cluster/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -29,20 +29,20 @@ init:
.PHONY: plan
plan: workspace-select
$(TF) $@ \
-var="assume_role=$(ASSUME_ROLE)" \
-var-file=./terraform.$(WORKSPACE_NAME).tfvars
-var-file=./terraform.$(WORKSPACE_NAME).tfvars \
-var="assume_role=$(ASSUME_ROLE)"

.PHONY: apply
apply: workspace-select
$(TF) $@ \
-var="assume_role=$(ASSUME_ROLE)" \
-var-file=./terraform.$(WORKSPACE_NAME).tfvars
-var-file=./terraform.$(WORKSPACE_NAME).tfvars \
-var="assume_role=$(ASSUME_ROLE)"

.PHONY: destroy
destory: workspace-select
destroy: workspace-select
$(TF) $@ \
-var="assume_role=$(ASSUME_ROLE)" \
-var-file=./terraform.$(WORKSPACE_NAME).tfvars
-var-file=./terraform.$(WORKSPACE_NAME).tfvars \
-var="assume_role=$(ASSUME_ROLE)"

.PHONY: fmt
fmt:
Expand Down

0 comments on commit 0088b5d

Please sign in to comment.