setup-sam icon indicating copy to clipboard operation
setup-sam copied to clipboard

How to pass environment variables

Open oluSammy opened this issue 2 years ago • 1 comments

my samconfig.toml contains some environment variables used during deployment. for example parameter_overrides = "VipsDiscThreshold=\"16g\" and other sensitive details.

is there a way to safely pass these parameters during build without putting them in the samconfig.toml file?

oluSammy avatar Mar 20 '24 05:03 oluSammy

You can pass this as a flag to the cli command

--parameter-overrides "VipsDiscThreshold=16g"

tmiller avatar Dec 09 '24 01:12 tmiller