Terraform End-to-End Test
This skill executes a full end-to-end test of the Terraform configuration for the Cloud Run service.
Instructions
- •
Ask for Project ID: The test script requires a Google Cloud Project ID to deploy the resources to. Ask the user for the
project_id. - •
Execute the Test Script: Run the
run_e2e_test.shscript located in theterraform/testdirectory. Pass the user-providedproject_idas the first argument to the script.Example command:
bash./terraform/test/run_e2e_test.sh your-gcp-project-id
- •
Monitor the Output: The script will provide real-time output of the deployment, testing, and teardown process. The script is designed to be self-sufficient and will clean up all resources automatically.