Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ross-humphrey/81236b2eed853cdcf6d5ea3bb80d60d4 to your computer and use it in GitHub Desktop.
Save ross-humphrey/81236b2eed853cdcf6d5ea3bb80d60d4 to your computer and use it in GitHub Desktop.
πŸ” Add permissions for an AWS account outside of account where an AWS Lambda layer is hosted
aws lambda add-layer-version-permission --layer-name <insert_lambda_layer_name> --statement-id xaccount --action lambda:GetLayerVersion --principal <insert_account_id_to_give_permissions_to> --version-number <insert_layer-version> --output text
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment