akkasls routes update

Update a route

Synopsis

The `akkasls routes update name' command will update a route for the project. You must either supply a filename containing the route YAML, or use other flags to manipulate the route.

akkasls routes update NAME [flags]

Options

      --client-ca-secret string          The name of a TLS CA secret that should be used to authenticate client connections
      --cors-method stringArray          A CORS method to allow
      --cors-origin stringArray          A CORS origin to allow
  -f, --filename string                  The name of a file to read the route spec from
  -h, --help                             help for update
      --hostname string                  The hostname
      --owner string                     the owner of the project to use, needed if you have two projects with the same name from different owners
      --path stringArray                 A path mapping, in the format /somepath=some-service
      --project string                   project to use if not using the default configured project
      --remove-client-ca-secret          Remove the configured client CA secret
      --remove-cors-method stringArray   A CORS method to remove from the url map
      --remove-cors-origin stringArray   A CORS origin to remove from the url map
      --remove-path stringArray          The path of a path mapping to remove from the url map

Options inherited from parent commands

      --config string      location of config file (default "~/.akkaserverless/config.yaml")
      --context string     configuration context to use
      --disable-prompt
                           Disable all interactive prompts when running akkasls commands. If input is required, defaults will be used, or an error will be raised.
                           This is equivalent to setting the environment variable AKKASLS_DISABLE_PROMPTS to true.
  -o, --output string      set output format to one of [text,json,gotemplate=] (default "text")
  -q, --quiet              set quiet output (helpful when used as part of a script)
      --timeout duration   client command timeout (default 10s)
  -v, --verbose            set verbose output

SEE ALSO