@@ -12,7 +12,7 @@ BUILD_CACHE_DIST := --cache-to type=registry,mode=max,ref=ghcr.io/kbst/terraform
1212BUILD_OUTPUT := --output type=registry,push=${DOCKER_PUSH}
1313BUILD_CACHE := --cache-to type=registry,mode=max,ref=ghcr.io/kbst/terraform-kubestack/dev:buildcache-${DOCKER_TARGET},push=${DOCKER_PUSH}
1414else
15- BUILD_PLATFORM :=
15+ BUILD_PLATFORM :=
1616BUILD_OUTPUT := --output type=docker
1717endif
1818
@@ -57,24 +57,24 @@ build:
5757validate : .init
5858 docker exec \
5959 test-container-$(GIT_SHA ) \
60- entrypoint terraform validate
60+ entrypoint tofu validate
6161
6262test : validate
6363 docker exec \
6464 test-container-$(GIT_SHA ) \
65- entrypoint terraform apply --target module.aks_zero --target module.eks_zero --target module.gke_zero --input=false --auto-approve
65+ entrypoint tofu apply --target module.aks_zero --target module.eks_zero --target module.gke_zero --input=false --auto-approve
6666 docker exec \
6767 test-container-$(GIT_SHA ) \
68- entrypoint terraform apply --target module.eks_zero_nginx --input=false --auto-approve
68+ entrypoint tofu apply --target module.eks_zero_nginx --input=false --auto-approve
6969 docker exec \
7070 test-container-$(GIT_SHA ) \
71- entrypoint terraform apply --input=false --auto-approve
71+ entrypoint tofu apply --input=false --auto-approve
7272
7373cleanup : .init
7474 docker exec \
7575 -ti \
7676 test-container-$(GIT_SHA ) \
77- entrypoint terraform destroy --input=false --auto-approve
77+ entrypoint tofu destroy --input=false --auto-approve
7878 $(MAKE ) .stop-container
7979
8080shell : .check-container
@@ -106,7 +106,7 @@ shell: .check-container
106106.init : .check-container
107107 docker exec \
108108 test-container-$(GIT_SHA ) \
109- entrypoint terraform init
109+ entrypoint tofu init
110110 docker exec \
111111 test-container-$(GIT_SHA ) \
112- entrypoint terraform workspace select ops
112+ entrypoint tofu workspace select ops
0 commit comments