Purpose
Run update for cidr networking objects using validated flags.
Location
networking/cidr/update.sh
Preconditions
- Required tools:
bash - Required permissions: none for dry-run/inspection workflows
- Required environment variables: none
Arguments
| Flag | Required | Default | Description |
|---|---|---|---|
--name NAME |
Yes | N/A | Object name |
--target VALUE |
No | empty | Target group/resource |
--cidr CIDR |
No | empty | CIDR value |
--json |
No | false |
Emit JSON output |
--dry-run |
No | false |
Print intended action |
Usage
networking/cidr/update.sh --name app-edge --target prod --cidr 10.10.0.0/24 --dry-run
Output
- Exit codes:
0success,2invalid arguments.