fastly vcl snippet create
Create a snippet for a particular service and version
Options
Name | Description |
---|---|
--content <content> | VCL snippet passed as file path or content, e.g. $(< snippet.vcl) |
--name <name> | The name of the VCL snippet |
--version <version> | 'latest', 'active', or the number of a specific version |
--type <type> | The location in generated VCL where the snippet should be placed |
--autoclone | If the selected service version is not editable, clone it and use the clone |
--dynamic | Whether the VCL snippet is dynamic or versioned |
--priority <priority> | Priority determines execution order. Lower numbers execute first |
--service-id <service-id> | Service ID (falls back to FASTLY_SERVICE_ID, then fastly.toml) |
--service-name <service-name> | The name of the service |