Fix multiple bugs encountered with boto3
* Fix path detection for deleting keys in S3 bucket * Fix stack deletion ensure delete method exists on object * Previous tests were using a stack with no resources * Fix DESCRIBE_STACK_RESOURCES_RESPONSE, * Previously untested code path
This commit is contained in:
parent
1ece813131
commit
b152c00642
6 changed files with 81 additions and 30 deletions
|
|
@ -379,7 +379,8 @@ class ResourceMap(collections.Mapping):
|
|||
def delete(self):
|
||||
for resource in self.resources:
|
||||
parsed_resource = self._parsed_resources.pop(resource)
|
||||
parsed_resource.delete(self._region_name)
|
||||
if parsed_resource and hasattr(parsed_resource, 'delete'):
|
||||
parsed_resource.delete(self._region_name)
|
||||
|
||||
|
||||
class OutputMap(collections.Mapping):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue