for granting cross-account access to Lambda layers...
# help
s
for granting cross-account access to Lambda layers, does anyone know if there’s a more automated way of running
aws lambda add-layer-version-permission --layer-name <xyz>
every time I update a layer? (I’m maintaining these in the primary AWS account, as devs shouldn’t have to bother with these. this seems like an easy thing to forget to do
I suppose maybe I could make a small CDK stack for the primary account, that’s in charge of deploying the global layers and setting the permissions to grant access to AWS accounts in the same org