Calling Google Cloud function with arguments
Solution 1:
You are close!! Try that
- call_function:
call: http.get
args:
url: ${function.httpsTrigger.url + "?project_id=" + my_project + "&bucket_id=" + my_bucket + "&sql_file=" + daily_load.sql}
EDIT 1
Here the post option with JSON body (note that YAML and JSON are similar. here how to write your JSON with yaml)
- call_function:
call: http.post
args:
url: ${function.httpsTrigger.url}
body:
project_id: "my_project"
bucket_id: "my_bucket"
sql_file: "daily_load.sql"
result: resp