Need help with refering cloudfunction http endpoint in workflow url

Hi team,

I am creating both cloud functions and workflow in a single .ts script , how can i refer the cloudfunctions url to workflow URL parameter ?

i tried something similar to below, but it didnot work

/// CloudFunctions Code:

const Cloudfunctions3 = new CloudfunctionsFunction (this, “CloudFunction3”,{
name: “OutputFunction”,
runtime: “python39”,
entryPoint: “hello_gcs”,
})
// workflow
for workflow under sourcecontents what should the url be

sourceContents: `
<<-EOF

randomgen_function:
call: http.get
args:
url: Cloudfunctions3.triggerHttp

If you are having both in the same CDKTF application you should be able to do this. Could you share the error message?