e2e-test: use opentofu
All checks were successful
CI / ci (push) Successful in 1m21s

This commit is contained in:
Abel Luck 2025-06-03 14:43:58 +02:00
parent 1fc36c9cea
commit d362b9fdcf
2 changed files with 4 additions and 4 deletions

View file

@ -38,10 +38,10 @@ e2e:
cd e2e-test && \ cd e2e-test && \
rm -rf .terraform/ .terraform.lock.hcl terraform.tfstate* && \ rm -rf .terraform/ .terraform.lock.hcl terraform.tfstate* && \
./setup-dev.sh && \ ./setup-dev.sh && \
TF_CLI_CONFIG_FILE=.terraformrc terraform plan && \ TF_CLI_CONFIG_FILE=.terraformrc tofu plan && \
TF_CLI_CONFIG_FILE=.terraformrc terraform apply -auto-approve && \ TF_CLI_CONFIG_FILE=.terraformrc tofu apply -auto-approve && \
echo "✓ E2E test passed! Cleaning up..." && \ echo "✓ E2E test passed! Cleaning up..." && \
TF_CLI_CONFIG_FILE=.terraformrc terraform destroy -auto-approve && \ TF_CLI_CONFIG_FILE=.terraformrc tofu destroy -auto-approve && \
echo "✓ E2E test completed successfully" echo "✓ E2E test completed successfully"
ci: ci:

View file

@ -43,6 +43,6 @@ echo " ./tf plan"
echo " ./tf apply" echo " ./tf apply"
echo "" echo ""
echo "Or use the full command:" echo "Or use the full command:"
echo " TF_CLI_CONFIG_FILE=.terraformrc terraform plan" echo " TF_CLI_CONFIG_FILE=.terraformrc tofu plan"
echo "" echo ""
echo "Note: Using local .terraformrc to avoid modifying your global configuration." echo "Note: Using local .terraformrc to avoid modifying your global configuration."