Add cloudformation list_stack_resources.
This commit is contained in:
parent
8b41af84a8
commit
7f73d7e26d
3 changed files with 75 additions and 13 deletions
|
|
@ -91,6 +91,10 @@ class CloudFormationBackend(BaseBackend):
|
|||
# stack.template = template
|
||||
# return stack
|
||||
|
||||
def list_stack_resources(self, stack_name_or_id):
|
||||
stack = self.get_stack(stack_name_or_id)
|
||||
return stack.stack_resources
|
||||
|
||||
def delete_stack(self, name_or_stack_id):
|
||||
if name_or_stack_id in self.stacks:
|
||||
# Delete by stack id
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue