Providing bref layer from a different AWS account #825
amacrobert-meq
started this conversation in
General
Replies: 2 comments 5 replies
-
Hi! Good news, this is exactly what Bref Enterprise addresses: https://enterprise.bref.sh/services.html Feel free to get in touch with me at [email protected] |
Beta Was this translation helpful? Give feedback.
5 replies
-
To anyone looking for the easy solution in the future: git clone https://github.com/brefphp/bref.git bref
cd bref/runtime
# (optional) comment out/remove versions you don't want to generate from Makefile
make Layer zips will be created in export/. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! I'm pushing my organization to move our microservices to lambda, using bref since they're written in PHP.
Our compliance director has determined that using the lambda layers provided by bref (such as
${bref:layer.php-74}
, which points toarn:aws:lambda:us-east-1:209497400698:layer:php-74:17
) is unacceptable, and wants any layers we use to be in our own AWS account.I know that I can provide my own layers in serverless.yml by giving it a lambda layer arn directly, and I can make those new layers in the aws lambda console.
However, I'm not sure what to use for the layer runtimes. These are just PHP binaries, right? Can I directly download the ones that bref uses somewhere? Or do I need to compile the binaries myself?
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions