fastly vcl custom create
Upload a VCL for a particular service and version
Options
Name | Description |
---|---|
--content <content> | VCL passed as file path or content, e.g. $(< main.vcl) |
--name <name> | The name of the VCL |
--version <version> | 'latest', 'active', or the number of a specific version |
--autoclone | If the selected service version is not editable, clone it and use the clone |
--main | Whether the VCL is the 'main' entrypoint |
--service-id <service-id> | Service ID (falls back to FASTLY_SERVICE_ID, then fastly.toml) |
--service-name <service-name> | The name of the service |