This commit is contained in:
parent
1fc36c9cea
commit
d362b9fdcf
2 changed files with 4 additions and 4 deletions
|
@ -38,10 +38,10 @@ e2e:
|
|||
cd e2e-test && \
|
||||
rm -rf .terraform/ .terraform.lock.hcl terraform.tfstate* && \
|
||||
./setup-dev.sh && \
|
||||
TF_CLI_CONFIG_FILE=.terraformrc terraform plan && \
|
||||
TF_CLI_CONFIG_FILE=.terraformrc terraform apply -auto-approve && \
|
||||
TF_CLI_CONFIG_FILE=.terraformrc tofu plan && \
|
||||
TF_CLI_CONFIG_FILE=.terraformrc tofu apply -auto-approve && \
|
||||
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"
|
||||
|
||||
ci:
|
||||
|
|
|
@ -43,6 +43,6 @@ echo " ./tf plan"
|
|||
echo " ./tf apply"
|
||||
echo ""
|
||||
echo "Or use the full command:"
|
||||
echo " TF_CLI_CONFIG_FILE=.terraformrc terraform plan"
|
||||
echo " TF_CLI_CONFIG_FILE=.terraformrc tofu plan"
|
||||
echo ""
|
||||
echo "Note: Using local .terraformrc to avoid modifying your global configuration."
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue