fastly vcl snippet create

Create a snippet for a particular service and version

Options

NameDescription
--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
--autocloneIf the selected service version is not editable, clone it and use the clone
--dynamicWhether 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