cdktf synth doesn't generate lambda assets archive when TerraformStack name contains whitespaces #1741
Labels
bug
Something isn't working
priority/important-soon
High priority, to be worked on as part of our current release or the following one.
size/small
estimated < 1 day
ux/configuration
Community Note
Description
When
TerraformStack
name parameter contains whitespaces, the assets archive is not created.Sample code:
cdktf & Language Versions
"cdktf": "0.10.2"
"typescript": "^4.5.2"
Affected Resource(s)
TerraformAsset
Debug Output
No errors, process finishes without error logs
Expected Behavior
When using
cdktf synth
with lambda, thecdktf.out/stacks/{lambda-stack-name}/assets
should have archived lambda source code.Actual Behavior
cdktf.out/stacks/{lambda-stack-name}/assets
folder doesn't contain archived lambda codeSteps to Reproduce
Clone the repo https://github.com/hashicorp/learn-cdktf-assets-stacks-lambda
Replace the lambda stack name
lambda-hello-world
withlambda hello world
run
cdktf synth
check the output folder
cdktf.out/stacks/{lambda-stack-name}/assets
Important Factoids
No
The text was updated successfully, but these errors were encountered: