Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Ensure better resilience for Command Line arguments #56

Description

@mxro

Goldstack templates invoke other applications by using Node.js exec.

For instance, to call the AWS CLI or the Terraform CLI - usually by running a corresponding image in Docker.

Thus arguments need to be passed to these other programs, which can be brittle as seen in #42.

A review should be conducted how this can be made more resilient, esp for the serverless API, where the names of local files can translate into command line arguments (e.g. how does it handle file names with spaces).

Probably good to develop a seperate utility module that sanitises CLI arguments.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions