Why can't I enable drift detection with public worker pools?
Last updated: July 14, 2025
Context
When attempting to create a Drift Detection Schedule for a stack using the default public worker pool, you may encounter an error indicating that the public worker pool is unsupported for this feature.
Answer
Drift detection runs require a private worker pool as they are not supported by public workers. To enable drift detection for your stacks, you will need to set up a private worker pool.
Private worker pools offer enhanced capabilities and security management features compared to public workers, though they may increase operational costs. They are required for features like drift detection that need additional security and control.
For detailed information on implementing this solution, please refer to our documentation: