awslabs / awslabs/simple-code-scanning-pipeline

Running `cdk deploy` with no parameters on the synthesized stack fails with unset parameter `tfsecExcludeList`

Open
#41 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.