Skip to content

PATCH 0067-Add-pluralized-lifecycle_policies-to-EFS-file-system.patch

Open

Description

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    area/patchAn issue describing an existing patch on upstream and the criteria to close it.An issue describing an existing patch on upstream and the criteria to close it.impact/breakingFixing this issue will require a breaking changeFixing this issue will require a breaking changekind/engineeringWork that is not visible to an external userWork that is not visible to an external user

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions