Terraform automation to deploy Google Cloud Functions that scale based on load with sample run using Apache Benchmark
- need to install ab (apache benchmark) for load testing of function
- remove / update unauthorised invoking of function if neeeded
- function code for sample node.js function (.zip)
Description:
Purpose: A simple HTTP function that responds with "Hello, [name]!".
Parameters: Accepts name from the query string, request body, or defaults to "World".
Response: Returns a 200 status with a message.