Skip to content

Commit 740f9c3

Browse files
committed
Fix subnet flag
1 parent 373683b commit 740f9c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/scripts/create-and-setup-gcp-vm.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ gcloud compute instances create "${RESOURCE_NAME}" --project="${GKE_PROJECT}" --
3838
--scopes=https://www.googleapis.com/auth/devstorage.read_only,https://www.googleapis.com/auth/logging.write,https://www.googleapis.com/auth/monitoring.write,https://www.googleapis.com/auth/servicecontrol,https://www.googleapis.com/auth/service.management.readonly,https://www.googleapis.com/auth/trace.append,https://www.googleapis.com/auth/cloud-platform \
3939
--tags="${NETWORK_TAGS}" --create-disk=auto-delete=yes,boot=yes,device-name="${RESOURCE_NAME}",image-family=projects/"${GKE_PROJECT}"/global/images/ngf-debian,mode=rw,size=20 --no-shielded-secure-boot --shielded-vtpm --shielded-integrity-monitoring --labels=goog-ec-src=vm_add-gcloud --reservation-affinity=any \
4040
--network=${NETWORK} \
41-
--subnetgit co=${NETWORK}
41+
--subnet=${NETWORK}
4242

4343
# Add VM IP to GKE master control node access, if required
4444
if [ "${ADD_VM_IP_AUTH_NETWORKS}" = "true" ]; then

0 commit comments

Comments
 (0)