iganari / package-gcp

Sample code collection specialized for GCP! :)
2 stars 0 forks source link

Cloud Run の設定を YAML で取り出す #283

Open iganari opened 1 year ago

iganari commented 1 year ago

YAML で制御

gcloud run services describe {{ Cloud Run のサービス名 }} --region {{ Cloud Run のサービスのリージョン }} --project {{ Cloud Run を動かす GC Project ID }} --format export > service.yaml
gcloud run services replace service.yaml  --platform managed --project hogehoge --allow-unauthenticated
iganari commented 1 year ago

認証系はこちら

https://cloud.google.com/run/docs/authenticating/public