Description
openedon Oct 2, 2024
Tracking why we introduced 0067-Add-pluralized-lifecycle_policies-to-EFS-file-system.patch.
This patch was introduced in #4590 to fix #4568.
The lifecycle_policy output of the efs.getFileSystem data source has MaxItemsOne hardcoded on the Pulumi side and this triggers panics when there is more than one lifecycle policy on the resource.
By adding a pluralized lifecycle_policies output and fixing the singular version to only return at most one element we're able to fix this panic without introducing breaking changes. To incentivize users to move to the pluralized version I've marked the singular version as deprecated.
During the next major release we can drop the patch and the auto-aliasing should correctly drop MaxItemsOne as well. At that point we're tracking upstream behavior again.