File tree Expand file tree Collapse file tree 1 file changed +1
-2
lines changed
lambda_code/backup/BackupSelection Expand file tree Collapse file tree 1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ def validate(self):
1818 self .backup_plan_id = self .resource_properties ['BackupPlanId' ]
1919 self .backup_selection = self .resource_properties ['BackupSelection' ]
2020
21-
2221 def create (self ):
2322 bu = self .get_boto3_client ('backup' )
2423
@@ -42,7 +41,7 @@ def update(self):
4241 def delete (self ):
4342 bu = self .get_boto3_client ('backup' )
4443 try :
45- bu .delete_backup_selection (BackupPlanId = self .backup_selection , SelectionId = self .physical_resource_id )
44+ bu .delete_backup_selection (BackupPlanId = self .backup_plan_id , SelectionId = self .physical_resource_id )
4645 except (bu .exceptions .ResourceNotFoundException ,
4746 bu .exceptions .InvalidParameterException ):
4847 # Assume already deleted
You can’t perform that action at this time.
0 commit comments