-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
contributors/good-first-issueGood first issue for a contributorGood first issue for a contributorcontributors/welcomeContributors are welcome to work on thisContributors are welcome to work on thistype/featureFeature requestFeature request
Description
Describe your idea/feature/enhancement
It would be great if sam build could accept a parameter to override the samconfig.toml's cached = true setting. I see only --cached (setting to 'true') in the possible build args (https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/sam-cli-command-reference-sam-build.html).
Additional Details
Context: Builds are failing using VS Code AWS Toolkit run/debug config, cf aws/aws-toolkit-vscode#2395. Being able to "turn off" the default caching in samconfig.toml as a workaround, using sam / buildArguments, is what I was thinking of.
Workarounds:
- Use a different
--config-env(but this requires duplicating whatever might be e.g. indefault.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
contributors/good-first-issueGood first issue for a contributorGood first issue for a contributorcontributors/welcomeContributors are welcome to work on thisContributors are welcome to work on thistype/featureFeature requestFeature request