From 1d811b41d00b4a8d995be5540db4e051b8f4c41a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9E=97=E5=8D=83=E9=87=8C?= Date: Wed, 19 Jul 2023 12:39:14 +1000 Subject: [PATCH] describe-stack-resources maxes out at 100, use list-stack-resources instead --- lib/stack-functions | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/stack-functions b/lib/stack-functions index decee457..ae63ef49 100644 --- a/lib/stack-functions +++ b/lib/stack-functions @@ -417,10 +417,10 @@ stack-resources() { local stack for stack in $stacks; do stack=$(_bma_stack_name_arg "$stack") - aws cloudformation describe-stack-resources \ + aws cloudformation list-stack-resources \ --stack-name $(_bma_stack_name_arg "$stack") \ --output "${BMA_OUTPUT_AWS:-text}" \ - --query "StackResources[].{ + --query "StackResourceSummaries[].{ PhysicalResourceId: PhysicalResourceId, ResourceType: ResourceType, ResourceStatus: ResourceStatus,