We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b8f7685 commit 6b1c8feCopy full SHA for 6b1c8fe
perfkitbenchmarker/providers/aws/aws_relational_db.py
@@ -320,7 +320,7 @@ def _TeardownNetworking(self):
320
"""Tears down all network resources that were created for the database."""
321
for subnet_for_db in self.subnets_created:
322
subnet_for_db.Delete()
323
- if hasattr(self, 'db_subnet_group_name'):
+ if hasattr(self, 'db_subnet_group_name') and self.db_subnet_group_name:
324
delete_db_subnet_group_cmd = util.AWS_PREFIX + [
325
'rds',
326
'delete-db-subnet-group',
0 commit comments