Skip to content

Commit 3bf7918

Browse files
committed
added tf upgrade task
1 parent dcf0b3f commit 3bf7918

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

Makefile

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -253,6 +253,11 @@ terraform-init:
253253
@echo "${BLUE}${ROCKET} Initializing Terraform...${RESET}"
254254
cd terraform && terraform init
255255

256+
.PHONY: terraform-update
257+
terraform-upgrade:
258+
@echo "${BLUE}${ROCKET} Updating Terraform...${RESET}"
259+
cd terraform && terraform init -upgrade
260+
256261
.PHONY: terraform-plan
257262
terraform-plan:
258263
@echo "${BLUE}${CLOCK} Planning Terraform changes...${RESET}"
@@ -298,6 +303,9 @@ tf-destroy: terraform-destroy
298303
.PHONY: tf-out
299304
tf-out: terraform-output
300305

306+
.PHONY: tf-update
307+
tf-out: terraform-upgrade
308+
301309
# Complete Confluent Cloud setup
302310
.PHONY: cc-setup
303311
cc-setup:

0 commit comments

Comments
 (0)