ezgh files mount-targets create --file-system f --subnet s [flags] [--wait]Give a file system an address in a subnet of its VPC (--subnet, its sbn_ ID). Mounts may come from the VPC’s ranges, or only from --allowed-source-cidr when given. --wait waits until it’s available and prints it, with its DNS name.
Part of ezgh files mount-targets.
Examples
ezgh files mount-targets create --file-system web --subnet sbn_2m9x0a7qpe4k --waitFlags
| Flag | Type | Default | Description |
|---|---|---|---|
--allowed-source-cidr |
string, repeatable | an IPv4 CIDR mounts may come from; repeat for more, at most 50 (default the VPC’s ranges) | |
--file-system |
string | the file system (fsy_…, UUID or name) | |
--name |
string | its name | |
--subnet |
string | the subnet it’s in (sbn_…) | |
--tag |
string, repeatable | a tag, key=value; repeat for more | |
--wait |
boolean | wait until it’s available, and print it then | |
--wait-timeout |
duration | 10m0s |
how long --wait waits |
This command also takes the global flags.