ambitious-van-68615
07/16/2019, 4:20 PMconst functionhw = new gcp.cloudfunctions.Function(functionName, {
sourceArchiveBucket: bucket.name,
runtime: "nodejs10",
sourceArchiveObject: bucketObjecthw.name,
entryPoint: "helloGet",
httpsTriggerUrl: `<https://us-central1-project-id.cloudfunctions.net/${functionName}>`,
triggerHttp: true,
});
Even if I use really unique values (both for my project and globally), it sets this suffixboundless-monkey-50243
07/16/2019, 5:46 PMgcp.cloudfunctions.FunctionArgs
has a name
property that you can set. It is probably defaulting (this is what it does for AWS, so I'm guessing) to using what you have passed as the first argument as the prefix to its default value.ambitious-van-68615
07/17/2019, 7:53 AMhttpsTriggerUrl
doesn't seem to fix itFunctionArgs
class was clearly what I couldn't see. Thanks @boundless-monkey-50243!boundless-monkey-50243
07/17/2019, 1:29 PMambitious-van-68615
07/17/2019, 3:32 PMhttpsTriggerUrl
: it's only an output and not a value that can be set