Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(sct.py): kms resoruces cleanup with all regions #6945

Merged
merged 1 commit into from
Dec 14, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion sdcm/utils/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -621,7 +621,7 @@ def clean_cloud_resources(tags_dict, config=None, dry_run=False): # pylint: dis
clean_test_security_groups(tags_dict, regions=aws_regions, dry_run=dry_run)
clean_placement_groups_aws(tags_dict, regions=aws_regions, dry_run=dry_run)
if cluster_backend == 'aws':
clean_aws_kms_alias(tags_dict, config.region_names)
clean_aws_kms_alias(tags_dict, aws_regions or all_aws_regions())
if cluster_backend in ('gce', 'k8s-gke', ''):
for project in gce_projects:
with environment(SCT_GCE_PROJECT=project):
Expand Down