Fixed validation on custom-resource in applicationautoscaling (#4026)
* Added ResourceTypeExceptions * Added test for custom-resource Co-authored-by: Phil Sheets <p.sheets@fetchrewards.com>
This commit is contained in:
parent
6fb05d6453
commit
b9a42816bd
10 changed files with 29 additions and 15 deletions
|
|
@ -2105,7 +2105,7 @@ class SecurityGroup(TaggedEC2Resource, CloudFormationModel):
|
|||
security_group.delete(region_name)
|
||||
|
||||
def delete(self, region_name):
|
||||
""" Not exposed as part of the ELB API - used for CloudFormation. """
|
||||
"""Not exposed as part of the ELB API - used for CloudFormation."""
|
||||
self.ec2_backend.delete_security_group(group_id=self.id)
|
||||
|
||||
@property
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue