Last active
April 8, 2019 21:34
-
-
Save michaelwsherman/5fa418d1d76661762047b437da4180c5 to your computer and use it in GitHub Desktop.
Remove the SSH tag from a VM.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export INSTANCE_NAME="my-instance" | |
export ZONE="us-west1-b" | |
gcloud compute instances remove-tags $INSTANCE_NAME \ | |
--zone=$ZONE \ | |
--tags=ssh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment