fastly vcl custom create

Upload a VCL for a particular service and version

Options

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