aws-toolkit-jetbrains icon indicating copy to clipboard operation
aws-toolkit-jetbrains copied to clipboard

provide environment variables to sam cli

Open mox601 opened this issue 3 years ago • 0 comments

Is your feature request related to a problem? Please describe. Sam build runs the maven tests when building the lambda: I want to skip tests because they take time and it's not the right time to run them. The only way I can skip them is from sam cli:

MAVEN_OPTS="-DskipTests=true" sam build Function --template /.../temp-template.yaml --build-dir /.../build

but I don't know how to do it in the plugin.

Describe the solution you'd like A simple form where I can enter the environment variables.

Describe alternatives you've considered Probably IntelliJ IDEA already provides a way to set environment variables when executing the plugin, but I don't know about it.

Additional context

mox601 avatar Oct 26 '21 09:10 mox601