puppetlabs-toy-chest / puppetlabs-aws

Puppet module for managing AWS resources to build out infrastructure
Apache License 2.0
187 stars 219 forks source link

IAM resources take long to prefetch #522

Open petr-tichy opened 5 years ago

petr-tichy commented 5 years ago

Prefetching IAM resources (iam_group, iam_policy, iam_policy_attachment) takes long as it loads all details for every resource at prefetch time. This is not necessary and makes prefetch time too long.

PR #520 solves this by prefetching only resource list and fetching resource details only for managed resources.