awslabs / awslabs/simple-code-scanning-pipeline
Running `cdk deploy` with no parameters on the synthesized stack fails with unset parameter `tfsecExcludeList`
- Dominant language
- TypeScript
- Stars
- 19
- Forks
- 3
- PR merge metrics
- No merged PRs in 30d
Description
I think that there should be a default value set for `tfsecExcludeList`. When I tried to `cdk deploy` the stack without specifying any parameeters, the deploy failed.
I had to specify:
`cdk deploy --parameters tfsecExcludeList=''`
In order for the stack to begin a deployment.
I think the update needs to be here: `main/lib/scsp-pipeline-stack.ts#L1060-1062` .
Contributor guide
Research direction
Inspect main/lib/scsp-pipeline-stack.ts at lines 1060-1062, where the tfsecExcludeList parameter is defined. First reproduce the failure with cdk deploy and no parameters, then verify that deployment starts without explicitly passing tfsecExcludeList; the existing workaround is cdk deploy --parameters tfsecExcludeList=''.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- cloud, devops
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100