Skip to main content

tcb fn layer list

Lists the layers in an environment, the layers bound to a function, or every version of a layer.

Usage​

tcb fn layer list [options]

Flags​

FlagRequiredDescriptionDefault
--name <functionName>NoShow the layers bound to a function—
--layer <layerAlias>NoShow every version of a layer—
--code-secret <secret>NoCodeSecret of an encrypted function—
-e, --env-id <envId>NoEnvironment IDCurrent default environment

Example​

# Every layer in the current environment
tcb fn layer list -e my-env-id

# Layers bound to a function
tcb fn layer list --name myFunc -e my-env-id

# Every version of a layer
tcb fn layer list --layer myLayer -e my-env-id