Skip to content

Instantly share code, notes, and snippets.

@qushot
Created September 15, 2017 03:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save qushot/116f8fe58f2b2ff3902e460fe00735c6 to your computer and use it in GitHub Desktop.
Save qushot/116f8fe58f2b2ff3902e460fe00735c6 to your computer and use it in GitHub Desktop.
Taskqueue許可設定スクリプト
#!/bin/sh
# Project set for Cloud SDK
PROJECT_ID=YOUR_PROJECT_ID
gcloud config set project $PROJECT_ID
# taskqueue allow
gcloud beta app firewall-rules update 1 \
--action=allow \
--source-range='0.1.0.2' \
--description='default -> deny, taskqueue -> allow'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment