https://pulumi.com logo
Title
l

limited-honey-31480

01/08/2020, 4:03 PM
anyone have any example for gcp cloud run on pulumi?
s

stocky-island-3676

01/08/2020, 4:06 PM
Perhaps @stocky-xylophone-20575? He asked 3 months ago: https://pulumi-community.slack.com/archives/C84L4E3N1/p1569860838128300
s

stocky-xylophone-20575

01/09/2020, 8:46 AM
i will share the code snippet for the cloud functions i had to run cloud run by executing it by command line by in python program itself
gcloud beta run deploy dataorc-api-gateway --image="<http://gcr.io/endpoints-release/endpoints-runtime-serverless:1|gcr.io/endpoints-release/endpoints-runtime-serverless:1>" --allow-unauthenticated --project=my-project --region="us-east1" --platform=managed --set-env-vars ENDPOINTS_SERVICE_NAME=dataorc-api-gateway-1
i hope this is would be helpful
s

stocky-island-3676

01/09/2020, 11:32 AM
Thanks @stocky-xylophone-20575. @limited-honey-31480 See the
__main__.py
in @stocky-xylophone-20575’s repo.