This gist contains lists of modules available in
in AWS Lambda.
It also contains the code to run in Lambda to generate these lists. In addition there
| #!/bin/bash | |
| PARAMATER="laravel-env" | |
| REGION="eu-central-1" | |
| WEB_DIR="/var/www/laravel" | |
| WEB_USER="www-data" | |
| # Get parameters and put it into .env file inside application root | |
| aws ssm get-parameter --with-decryption --name $PARAMATER --region $REGION --query Parameter.Value | sed -e 's/^"//' -e 's/"$//' -e 's/\\n/\n/g' -e 's/\\//g' > $WEB_DIR/.env | 
| #!/bin/sh | |
| sudo yum update -y | |
| sudo amazon-linux-extras install nginx1 php7.4 -y | |
| sudo yum clean metadata | |
| sudo yum install git mariadb-server php-{pear,cgi,common,curl,mbstring,gd,mysqlnd,gettext,bcmath,json,xml,fpm,intl,zip} -y | |
| # Back up existing config | |
| sudo cp -R /etc/nginx /etc/nginx-backup | |
| sudo chmod -R 777 /var/log | |
| sudo chown -R ec2-user:ec2-user /usr/share/nginx/html | |
| echo "<?php phpinfo(); ?>" > /usr/share/nginx/html/index.php | 
This gist contains lists of modules available in
in AWS Lambda.
It also contains the code to run in Lambda to generate these lists. In addition there
| DEMZF-UCKEE-HB222-DJDDH-594U5 | |
| DMAZF-UCKEE-A6222-8CADP-HQZ7H | |
| DPAZF-UCKEE-FH222-ET546-DLRGT | |
| DRNZF-UCKEE-UK222-RWNLU-XVZH7 | |
| DSBZF-UCKEE-BF222-K24JB-S9JLC | |
| DSHZF-UCKEE-D3222-NMB93-UKSQF | |
| DTHZF-UCKEE-BW222-Q2BKZ-NXPU8 | |
| DVAZF-UCKEE-J7222-5UHCT-QSRFE | |
| DVEZF-UCKEE-PR222-ZAPFE-4C49Q |