Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 1.11 KB

fn-push_gcp.md

File metadata and controls

31 lines (22 loc) · 1.11 KB

fn-push gcp

Upload function assets to Cloud Storage

Synopsis

Zips up function assets and uploads them to Google Cloud Storage for use in Cloud Functions.

fn-push gcp [flags]

Options

  -b, --buckets stringArray    A list of buckets to upload to (same order as the regions please
  -e, --exclude stringArray    An array of globs defining what not to bundle
  -f, --functionKey string     The path/filename of the zip file in the bucket (you don't need to add the .zip extension, but remember to include a version string of some sort)
  -h, --help                   help for gcp
  -i, --include stringArray    An array of globs defining what to bundle (default [**])
  -p, --inputPath string       The path to the lambda code and node_modules (default ".")
      --rootDir string         An optional path within the zip to save the files to
  -v, --versionSuffix string   An optional string to append to layer and function keys to use as a version indicator

SEE ALSO

  • fn-push - A simple tool to upload serverless function assets
Auto generated by spf13/cobra on 26-Sep-2024