diff --git a/package.json b/package.json index c789290..c4193c9 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "constructs": "^10.0.0" }, "dependencies": { - "@bref.sh/layers": "^2.0.62" + "@bref.sh/layers": "^2.0.95" }, "devDependencies": { "@types/lodash": "^4.14.195", diff --git a/src/function/PhpFpmFunction.ts b/src/function/PhpFpmFunction.ts index 700f9c9..38595a6 100644 --- a/src/function/PhpFpmFunction.ts +++ b/src/function/PhpFpmFunction.ts @@ -6,7 +6,7 @@ import { fpmLayer } from '../layers'; import { packagePhpCode } from '../package'; export type PhpFpmFunctionProps = Partial & { - phpVersion?: '8.0' | '8.1' | '8.2' | '8.3'; + phpVersion?: '8.0' | '8.1' | '8.2' | '8.3' | '8.4'; }; export class PhpFpmFunction extends Function { diff --git a/src/function/PhpFunction.ts b/src/function/PhpFunction.ts index 69a8d50..4df8217 100644 --- a/src/function/PhpFunction.ts +++ b/src/function/PhpFunction.ts @@ -8,7 +8,7 @@ import { IVpc } from 'aws-cdk-lib/aws-ec2'; import { VpcForServerlessApp } from '../vpc/VpcForServerlessApp'; export type PhpFunctionProps = Partial & { - phpVersion?: '8.0' | '8.1' | '8.2' | '8.3'; + phpVersion?: '8.0' | '8.1' | '8.2' | '8.3' | '8.4'; handler: string; vpc?: IVpc | VpcForServerlessApp; };