From f3dacffbb2ab9f4afcc774996ac989baecdd9f46 Mon Sep 17 00:00:00 2001 From: "Matthew C. Morgan" Date: Wed, 4 Jun 2025 16:30:48 -0400 Subject: [PATCH] wip --- local-app/python-tools/gfl-resource-actions/Makefile | 2 +- .../gfl-resource-actions/aws_resource_management/core.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/local-app/python-tools/gfl-resource-actions/Makefile b/local-app/python-tools/gfl-resource-actions/Makefile index 283f0dd9..b9448b5d 100644 --- a/local-app/python-tools/gfl-resource-actions/Makefile +++ b/local-app/python-tools/gfl-resource-actions/Makefile @@ -75,7 +75,7 @@ dist: # Run in dry-run mode run-dry-run: - $(PYTHON) -m $(PACKAGE_NAME).cli --stop --dry-run --resource-type ecr --csv-output-dir ./ --csv-export + $(PYTHON) -m $(PACKAGE_NAME).cli --stop --dry-run --resource-type ec2 --csv-output-dir ./ --csv-export # Run to stop resources run-stop: diff --git a/local-app/python-tools/gfl-resource-actions/aws_resource_management/core.py b/local-app/python-tools/gfl-resource-actions/aws_resource_management/core.py index eb0cf000..43f3467a 100644 --- a/local-app/python-tools/gfl-resource-actions/aws_resource_management/core.py +++ b/local-app/python-tools/gfl-resource-actions/aws_resource_management/core.py @@ -205,8 +205,7 @@ def _process_account_safely( account_name = ensure_valid_account_name( account_id, account.get("account_name") ) - account["account_name"] = account_name # Update in original dict - + account["account_name"] = account_name logger.info(f"Processing account {account_name} ({account_id})") try: