You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I can import the lamba and eventsource just fine. However, I run a cdk diff immediately afterwards and the diff shows the Retain DeletionPolicy will be removed.
Does the eventsourcemapping not inherit this from the lambda's removal policy? I did not find a way to apply a removal policy directly to the eventsourcemapping.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello!
I have an existing lambda and trigger in an account that I am attempting to import via cdk import. The snippet is as follows:
I can import the lamba and eventsource just fine. However, I run a cdk diff immediately afterwards and the diff shows the Retain DeletionPolicy will be removed.
Does the eventsourcemapping not inherit this from the lambda's removal policy? I did not find a way to apply a removal policy directly to the eventsourcemapping.
Thank you for any help!
Beta Was this translation helpful? Give feedback.
All reactions