Describe the bug
cdk diff returns nothing when I change the codeUri or events prop of sam.CfnFunction
new sam.CfnFunction(this,`MarkLogicErrAlertFunction`,{
codeUri: 's3://my-bucket/HelloWorldLambda12345.zip',
handler: 'index.handler',
runtime: 'nodejs16.x',
// timeout: 300,
// functionName: mailerfunctionName,
// events: {
// TaskServerError: {
// properties: TaskServerErrorProperties,
// type: 'CloudWatchLogs',
// },
Expected Behavior
cdk diff should return the change
Current Behavior
it returns nothing
Reproduction Steps
Just deploy this for the first time
new sam.CfnFunction(this,`MarkLogicErrAlertFunction`,{
codeUri: 's3://my-bucket/HelloWorldLambda12345.zip',
handler: 'index.handler',
runtime: 'nodejs16.x',
// timeout: 300,
// functionName: mailerfunctionName,
// events: {
// TaskServerError: {
// properties: TaskServerErrorProperties,
// type: 'CloudWatchLogs',
// },
and then modify codeUri or events, run cdk diff again.
Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
v2.126.0
Framework Version
No response
Node.js Version
v18.16.0
OS
mac
Language
TypeScript
Language Version
No response
Other information
No response
Describe the bug
cdk diffreturns nothing when I change thecodeUrioreventsprop of sam.CfnFunctionExpected Behavior
cdk diffshould return the changeCurrent Behavior
it returns nothing
Reproduction Steps
Just deploy this for the first time
and then modify codeUri or events, run
cdk diffagain.Possible Solution
No response
Additional Information/Context
No response
CDK CLI Version
v2.126.0
Framework Version
No response
Node.js Version
v18.16.0
OS
mac
Language
TypeScript
Language Version
No response
Other information
No response