Discovered in ServerlessOpsIO/serverlessops-catalog-api#8
Because we don't pass --parameter-overrides to sam build when running yarn run sam:build anything we have set in cfn-parameters.json is ignored. Possible solutions:
- Document in
template.yaml the need to change values there. This unfortunately leaves the issue in place.
- Incorporate
cfn-parameters.json handling local to project and pass parameter overrides to build command.
- Replace
yarn run sam:build usage in pipeline with a GHA action.
While here, add EnableMinify parameter which will work similarly.
Discovered in ServerlessOpsIO/serverlessops-catalog-api#8
Because we don't pass
--parameter-overridestosam buildwhen runningyarn run sam:buildanything we have set incfn-parameters.jsonis ignored. Possible solutions:template.yamlthe need to change values there. This unfortunately leaves the issue in place.cfn-parameters.jsonhandling local to project and pass parameter overrides to build command.yarn run sam:buildusage in pipeline with a GHA action.While here, add EnableMinify parameter which will work similarly.