Skip to content

Commit

Permalink
check for tfswitch in uppdate, upgrade dependencies + lock
Browse files Browse the repository at this point in the history
  • Loading branch information
tillkuhn committed May 24, 2024
1 parent a43a00f commit 651a84a
Show file tree
Hide file tree
Showing 2 changed files with 90 additions and 69 deletions.
157 changes: 89 additions & 68 deletions terraform/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion terraform/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ apply: tfswitch fmt ## Run '$(TF_BIN) apply --auto-approve' to apply changes wit
.PHONY: update
update: ## Run 'terraform init -upgrade' to update provider versions, see also 'lock'
$(TF_BIN) init -upgrade
tfswitch --latest
test -f versions.tf && hash tfswitch 2>/dev/null && tfswitch --latest || echo tfswitch not installed
@echo "Finished, it's recommended to run 'make plan' now to verify if everything is still working "

.PHONY: upgrade
Expand Down

0 comments on commit 651a84a

Please sign in to comment.