Hi All,
I need to specify network and subnetwork in the below GCP command. But it gives error when I try to give it here. I dont want to use teh default network and subnet and hence need to explicitly mention.
It would be really helpful if I can get some help here.
I'm able to specify network and subnetwork when i try this through GCP console.
gcloud dataflow flex-template run jobname --template-file-gcs-location \
--parameters inputFile=\
--parameters bigtableInstanceId=\
--parameters bigtableId=\
--parameters bigQueryDataset=\
--parameters bigQueryTable=\
--parameters outputTopic=\
--parameters dataflowBucket=\
--region \
The above command works.
But as soon as I add network and subnetwork like below it gives error.
gcloud dataflow flex-template run jobname --template-file-gcs-location \
--parameters inputFile=\
--parameters bigtableInstanceId=\
--parameters bigtableId=\
--parameters bigQueryDataset=\
--parameters bigQueryTable=\
--parameters outputTopic=\
--parameters dataflowBucket=\
--region \
--network \
--subnetwork