aws-cloudformation / aws-cloudformation-resource-providers-cloudformation

The CloudFormation Resource Provider Package For AWS CloudFormation
https://aws.amazon.com/cloudformation/
Apache License 2.0
47 stars 35 forks source link

StackSets - ListStackSetsRequest with ACTIVE status #74

Closed xiwhuang closed 2 years ago

xiwhuang commented 2 years ago

Issue #, if available:

Preivously, we list all stacksets including Deleted Stacksets, that causes an unnecessary latency issue to users who have a lot of StackSets deleted before.

Description of changes:

Optimizing the List handler to call ListStackSets with ACTIVE status flag

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

ugudip commented 2 years ago

Can we add more context on the description on what this PR is doing? Is this to list only active stacksets every time? If yes, why is this change needed?

xiwhuang commented 2 years ago

Sure. Not sure why the description was not added. Basically it is optimizing the impl in List handler.