Skip to content

Assets: grant permissions on a wildcard #484

@rix0rrr

Description

@rix0rrr

Right now, we only grant permissions on specific versions of an asset. That means that if we publish a new version, the Lambda or CodeBuild role using the assets immediately loses permissions to all previous versions of the asset, causing them to fail.

This is inconvenient for CodeBuilds, but will prevent gradual Lambda deployments for example.

We should probably name the asset something like

$BUCKET/assets/$ID/abcdef12345.zip

And give permissions on the $ID prefix, so that all versions are accepted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions