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
It should not be possible to delete a Lambda Function that belongs to a CloudFormation stack. This was overlooked during #190.
To Reproduce
Create a CloudFormation Stack that contains a Lambda Function
Go to the AWS Explorer
Open the CloudFormation Stack and right click on the function. Notice there is no Delete menu item (good)
Locate the "Lambda Functions" node for the same function, and right click on it. Notice there is a Delete menu item (bad). Delete the Lambda Function
Function gets deleted
Expected behavior
It should not be possible to delete the function.
Ideal: the context menu does not appear on these nodes
Next best: an error message is shown indicating that the function cannot be deleted because it is associated with (insert CloudFormation Stack name here)
Desktop (please complete the following information):
OS: Win
Visual Studio Code Version: 1.33
AWS Toolkit for Visual Studio Code Version: 0.1.1
The text was updated successfully, but these errors were encountered:
Describe the bug
It should not be possible to delete a Lambda Function that belongs to a CloudFormation stack. This was overlooked during #190.
To Reproduce
Expected behavior
It should not be possible to delete the function.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: