aws-s3-bucket-deployment: lazy values do not work with Source #32767
Labels
bug
This issue is a bug.
effort/medium
Medium work item – several days of effort
feature-request
A feature should be added or improved.
p3
package/tools
Related to AWS CDK Tools or CLI
Describe the bug
When using a Lazy value for any of the Source inputs, they are getting resolved immediately due to bind happening in construction. i.e:
We should be able to support synthesis time values here also by delaying the source binding until synthesis time.
Regression Issue
Last Known Working CDK Version
No response
Expected Behavior
Lazy values should work when passing them in as Sources to the
BucketDeployment
Current Behavior
They are evaluated immediately.
Reproduction Steps
Possible Solution
We should be able to support synthesis time values here also by delaying the source binding until synthesis time.
Additional Information/Context
No response
CDK CLI Version
latest
Framework Version
No response
Node.js Version
18
OS
osx
Language
TypeScript
Language Version
No response
Other information
No response
The text was updated successfully, but these errors were encountered: