anyone have any example for gcp cloud run on pulum...
# google-cloud
l
anyone have any example for gcp cloud run on pulumi?
s
Perhaps @stocky-xylophone-20575? He asked 3 months ago: https://pulumi-community.slack.com/archives/C84L4E3N1/p1569860838128300
s
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
Copy code
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
Thanks @stocky-xylophone-20575. @limited-honey-31480 See the
__main__.py
in @stocky-xylophone-20575’s repo.