-
Couldn't load subscription status.
- Fork 43
Description
Describe the Bug
For types with the simple_get_filter feature it is seemingly not possible to perform resource purging with either the resources type or the purge type from crayfishx/purge.
When attempting to purge types with simple_get_filter it seems that the existing-but-unmanaged resources are never found via the type instances() method, therefore preventing them from being purged.
Removing the simple_get_filter flag is sufficient to restore resource purging to a working state.
Expected Behavior
Types using simple_get_filter should support instantiation, even of unknown resources, via instances() OR a warning/error should be thrown. The user of a given Resource API-based resource should not have to be aware of the implementation details to figure out if resource purging will work.
Environment
- Version Puppet 7.18.0