mongocli atlas networking peering create gcp

Create a connection with GCP

Options

NameDescription
--atlasCidrBlock <atlasCidrBlock>
  • Required ✳
--gcpProjectId <gcpProjectId>Unique identifier of the GCP project in which the network peer resides
--network <network>Unique identifier of the Network Peering connection in the Atlas project
--output, -o <output>Output format. Valid values are json, json-path, go-template, or go-template-file
--projectId <projectId>Project ID to use. Overrides the settings in the configuration file or environment variable
--region <region>List of Atlas regions where the container resides