You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
Activity
eladb commentedon Aug 2, 2018
Totally, and I like the simple solution
Assets: upload to and grant permissions on prefix
fix(assets): permissions granted on shared prefix (#510)
fix(assets): permissions granted on shared prefix (aws#510)