@bref.sh/layers 2.0.21 → 2.0.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +51 -0
- package/layers.js +13 -4
- package/layers.json +208 -208
- package/package.json +5 -3
- package/vite.config.js +7 -0
package/README.md
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
NPM package to use Bref runtimes on AWS Lambda.
|
|
2
|
+
|
|
3
|
+
This package is useful is you need to reference the Bref layers from a NodeJS application. For example if you use the **AWS CDK**, **Pulumi**, etc.
|
|
4
|
+
|
|
5
|
+
> **Note**
|
|
6
|
+
>
|
|
7
|
+
> If you are using the AWS CDK, you might be interested in [the `@bref.sh/constructs` package](https://github.com/brefphp/constructs) instead.
|
|
8
|
+
|
|
9
|
+
## Installation
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
npm install @bref/layers
|
|
13
|
+
```
|
|
14
|
+
|
|
15
|
+
## Version compatibility with Bref
|
|
16
|
+
|
|
17
|
+
This package is compatible with Bref 2.0 and above.
|
|
18
|
+
|
|
19
|
+
This NPM package and Bref are compatible as long as they have the same **major** version. For example:
|
|
20
|
+
|
|
21
|
+
- v**2**.x.y of this package is compatible with v**2**.z.w of Bref
|
|
22
|
+
- v**3**.x.y of this package is **NOT** compatible with v**2**.z.w of Bref
|
|
23
|
+
- v**2**.x.y of this package is **NOT** compatible with v**1**.z.w of Bref
|
|
24
|
+
- etc.
|
|
25
|
+
|
|
26
|
+
All minor and patch versions are not important. Only the major version matters. That means you can upgrade Bref separately from upgrading this package (though it's always good to stay on the latest versions).
|
|
27
|
+
|
|
28
|
+
## Usage
|
|
29
|
+
|
|
30
|
+
Get a layer version:
|
|
31
|
+
|
|
32
|
+
```js
|
|
33
|
+
import { layerVersions } from '@bref.sh/layers';
|
|
34
|
+
|
|
35
|
+
console.log(layerVersions['php-82']['us-east-1']);
|
|
36
|
+
console.log(layerVersions['php-82-fpm']['eu-west-3']);
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
Helpers to get a full ARN:
|
|
40
|
+
|
|
41
|
+
```js
|
|
42
|
+
import { functionLayerArn, fpmLayerArn, consoleLayerArn } from '@bref.sh/layers';
|
|
43
|
+
|
|
44
|
+
console.log(functionLayerArn(region, '8.2'));
|
|
45
|
+
console.log(functionLayerArn(region, '8.1', 'arm'));
|
|
46
|
+
|
|
47
|
+
console.log(fpmLayerArn(region, '8.2'));
|
|
48
|
+
console.log(fpmLayerArn(region, '8.1', 'arm'));
|
|
49
|
+
|
|
50
|
+
console.log(consoleLayerArn(region));
|
|
51
|
+
```
|
package/layers.js
CHANGED
|
@@ -8,12 +8,15 @@ const layerVersions = require('./layers.json');
|
|
|
8
8
|
* @param {'x86'|'arm'} platform
|
|
9
9
|
* @returns {string} Layer ARN
|
|
10
10
|
*/
|
|
11
|
-
function functionLayerArn(region, phpVersion, platform) {
|
|
11
|
+
function functionLayerArn(region, phpVersion, platform = 'x86') {
|
|
12
12
|
let layerName = 'php-' + phpVersion.replace('.', '');
|
|
13
13
|
if (platform === 'arm') {
|
|
14
14
|
layerName = 'arm-' + layerName;
|
|
15
15
|
}
|
|
16
|
-
const version = layerVersions[layerName][region];
|
|
16
|
+
const version = layerVersions[layerName]?.[region];
|
|
17
|
+
if (!version) {
|
|
18
|
+
throw new Error(`PHP version ${phpVersion} in ${region} is not supported`);
|
|
19
|
+
}
|
|
17
20
|
return `arn:aws:lambda:${region}:534081306603:layer:${layerName}:${version}`;
|
|
18
21
|
}
|
|
19
22
|
|
|
@@ -24,12 +27,15 @@ function functionLayerArn(region, phpVersion, platform) {
|
|
|
24
27
|
* @param {'x86'|'arm'} platform
|
|
25
28
|
* @returns {string} Layer ARN
|
|
26
29
|
*/
|
|
27
|
-
function fpmLayerArn(region, phpVersion, platform) {
|
|
30
|
+
function fpmLayerArn(region, phpVersion, platform = 'x86') {
|
|
28
31
|
let layerName = 'php-' + phpVersion.replace('.', '') + '-fpm';
|
|
29
32
|
if (platform === 'arm') {
|
|
30
33
|
layerName = 'arm-' + layerName;
|
|
31
34
|
}
|
|
32
|
-
const version = layerVersions[layerName][region];
|
|
35
|
+
const version = layerVersions[layerName]?.[region];
|
|
36
|
+
if (!version) {
|
|
37
|
+
throw new Error(`PHP version ${phpVersion} in ${region} is not supported`);
|
|
38
|
+
}
|
|
33
39
|
return `arn:aws:lambda:${region}:534081306603:layer:${layerName}:${version}`;
|
|
34
40
|
}
|
|
35
41
|
|
|
@@ -40,6 +46,9 @@ function fpmLayerArn(region, phpVersion, platform) {
|
|
|
40
46
|
*/
|
|
41
47
|
function consoleLayerArn(region) {
|
|
42
48
|
const version = layerVersions.console[region];
|
|
49
|
+
if (!version) {
|
|
50
|
+
throw new Error(`Console layer does not exist in region ${region}`);
|
|
51
|
+
}
|
|
43
52
|
return `arn:aws:lambda:${region}:534081306603:layer:console:${version}`;
|
|
44
53
|
}
|
|
45
54
|
|
package/layers.json
CHANGED
|
@@ -1,189 +1,212 @@
|
|
|
1
1
|
{
|
|
2
2
|
"php-82": {
|
|
3
|
-
"af-south-1": "
|
|
4
|
-
"ap-east-1": "
|
|
5
|
-
"ap-northeast-1": "
|
|
6
|
-
"ap-northeast-2": "
|
|
7
|
-
"ap-northeast-3": "
|
|
8
|
-
"ap-south-1": "
|
|
9
|
-
"ap-southeast-1": "
|
|
10
|
-
"ap-southeast-2": "
|
|
11
|
-
"ca-central-1": "
|
|
12
|
-
"eu-central-1": "
|
|
13
|
-
"eu-north-1": "
|
|
14
|
-
"eu-south-1": "
|
|
15
|
-
"eu-west-1": "
|
|
16
|
-
"eu-west-2": "
|
|
17
|
-
"eu-west-3": "
|
|
18
|
-
"me-south-1": "
|
|
19
|
-
"sa-east-1": "
|
|
20
|
-
"us-east-1": "
|
|
21
|
-
"us-east-2": "
|
|
22
|
-
"us-west-1": "
|
|
23
|
-
"us-west-2": "
|
|
3
|
+
"af-south-1": "12",
|
|
4
|
+
"ap-east-1": "12",
|
|
5
|
+
"ap-northeast-1": "12",
|
|
6
|
+
"ap-northeast-2": "12",
|
|
7
|
+
"ap-northeast-3": "12",
|
|
8
|
+
"ap-south-1": "12",
|
|
9
|
+
"ap-southeast-1": "12",
|
|
10
|
+
"ap-southeast-2": "12",
|
|
11
|
+
"ca-central-1": "12",
|
|
12
|
+
"eu-central-1": "12",
|
|
13
|
+
"eu-north-1": "12",
|
|
14
|
+
"eu-south-1": "12",
|
|
15
|
+
"eu-west-1": "12",
|
|
16
|
+
"eu-west-2": "12",
|
|
17
|
+
"eu-west-3": "12",
|
|
18
|
+
"me-south-1": "12",
|
|
19
|
+
"sa-east-1": "12",
|
|
20
|
+
"us-east-1": "12",
|
|
21
|
+
"us-east-2": "12",
|
|
22
|
+
"us-west-1": "12",
|
|
23
|
+
"us-west-2": "12"
|
|
24
24
|
},
|
|
25
25
|
"php-82-fpm": {
|
|
26
|
-
"af-south-1": "
|
|
27
|
-
"ap-east-1": "
|
|
28
|
-
"ap-northeast-1": "
|
|
29
|
-
"ap-northeast-2": "
|
|
30
|
-
"ap-northeast-3": "
|
|
31
|
-
"ap-south-1": "
|
|
32
|
-
"ap-southeast-1": "
|
|
33
|
-
"ap-southeast-2": "
|
|
34
|
-
"ca-central-1": "
|
|
35
|
-
"eu-central-1": "
|
|
36
|
-
"eu-north-1": "
|
|
37
|
-
"eu-south-1": "
|
|
38
|
-
"eu-west-1": "
|
|
39
|
-
"eu-west-2": "
|
|
40
|
-
"eu-west-3": "
|
|
41
|
-
"me-south-1": "
|
|
42
|
-
"sa-east-1": "
|
|
43
|
-
"us-east-1": "
|
|
44
|
-
"us-east-2": "
|
|
45
|
-
"us-west-1": "
|
|
46
|
-
"us-west-2": "
|
|
26
|
+
"af-south-1": "12",
|
|
27
|
+
"ap-east-1": "12",
|
|
28
|
+
"ap-northeast-1": "12",
|
|
29
|
+
"ap-northeast-2": "12",
|
|
30
|
+
"ap-northeast-3": "12",
|
|
31
|
+
"ap-south-1": "12",
|
|
32
|
+
"ap-southeast-1": "12",
|
|
33
|
+
"ap-southeast-2": "12",
|
|
34
|
+
"ca-central-1": "12",
|
|
35
|
+
"eu-central-1": "12",
|
|
36
|
+
"eu-north-1": "12",
|
|
37
|
+
"eu-south-1": "12",
|
|
38
|
+
"eu-west-1": "12",
|
|
39
|
+
"eu-west-2": "12",
|
|
40
|
+
"eu-west-3": "12",
|
|
41
|
+
"me-south-1": "12",
|
|
42
|
+
"sa-east-1": "12",
|
|
43
|
+
"us-east-1": "12",
|
|
44
|
+
"us-east-2": "12",
|
|
45
|
+
"us-west-1": "12",
|
|
46
|
+
"us-west-2": "12"
|
|
47
47
|
},
|
|
48
48
|
"php-81": {
|
|
49
|
-
"af-south-1": "
|
|
50
|
-
"ap-east-1": "
|
|
51
|
-
"ap-northeast-1": "
|
|
52
|
-
"ap-northeast-2": "
|
|
53
|
-
"ap-northeast-3": "
|
|
54
|
-
"ap-south-1": "
|
|
55
|
-
"ap-southeast-1": "
|
|
56
|
-
"ap-southeast-2": "
|
|
57
|
-
"ca-central-1": "
|
|
58
|
-
"eu-central-1": "
|
|
59
|
-
"eu-north-1": "
|
|
60
|
-
"eu-south-1": "
|
|
61
|
-
"eu-west-1": "
|
|
62
|
-
"eu-west-2": "
|
|
63
|
-
"eu-west-3": "
|
|
64
|
-
"me-south-1": "
|
|
65
|
-
"sa-east-1": "
|
|
66
|
-
"us-east-1": "
|
|
67
|
-
"us-east-2": "
|
|
68
|
-
"us-west-1": "
|
|
69
|
-
"us-west-2": "
|
|
49
|
+
"af-south-1": "14",
|
|
50
|
+
"ap-east-1": "14",
|
|
51
|
+
"ap-northeast-1": "21",
|
|
52
|
+
"ap-northeast-2": "21",
|
|
53
|
+
"ap-northeast-3": "21",
|
|
54
|
+
"ap-south-1": "21",
|
|
55
|
+
"ap-southeast-1": "21",
|
|
56
|
+
"ap-southeast-2": "21",
|
|
57
|
+
"ca-central-1": "22",
|
|
58
|
+
"eu-central-1": "22",
|
|
59
|
+
"eu-north-1": "22",
|
|
60
|
+
"eu-south-1": "14",
|
|
61
|
+
"eu-west-1": "22",
|
|
62
|
+
"eu-west-2": "22",
|
|
63
|
+
"eu-west-3": "22",
|
|
64
|
+
"me-south-1": "14",
|
|
65
|
+
"sa-east-1": "22",
|
|
66
|
+
"us-east-1": "22",
|
|
67
|
+
"us-east-2": "22",
|
|
68
|
+
"us-west-1": "22",
|
|
69
|
+
"us-west-2": "22"
|
|
70
70
|
},
|
|
71
71
|
"php-81-fpm": {
|
|
72
|
-
"af-south-1": "
|
|
73
|
-
"ap-east-1": "
|
|
74
|
-
"ap-northeast-1": "
|
|
75
|
-
"ap-northeast-2": "
|
|
76
|
-
"ap-northeast-3": "
|
|
77
|
-
"ap-south-1": "
|
|
78
|
-
"ap-southeast-1": "
|
|
79
|
-
"ap-southeast-2": "
|
|
80
|
-
"ca-central-1": "
|
|
81
|
-
"eu-central-1": "
|
|
82
|
-
"eu-north-1": "
|
|
83
|
-
"eu-south-1": "
|
|
84
|
-
"eu-west-1": "
|
|
85
|
-
"eu-west-2": "
|
|
86
|
-
"eu-west-3": "
|
|
87
|
-
"me-south-1": "
|
|
88
|
-
"sa-east-1": "
|
|
89
|
-
"us-east-1": "
|
|
90
|
-
"us-east-2": "
|
|
91
|
-
"us-west-1": "
|
|
92
|
-
"us-west-2": "
|
|
72
|
+
"af-south-1": "14",
|
|
73
|
+
"ap-east-1": "14",
|
|
74
|
+
"ap-northeast-1": "21",
|
|
75
|
+
"ap-northeast-2": "21",
|
|
76
|
+
"ap-northeast-3": "21",
|
|
77
|
+
"ap-south-1": "21",
|
|
78
|
+
"ap-southeast-1": "21",
|
|
79
|
+
"ap-southeast-2": "21",
|
|
80
|
+
"ca-central-1": "22",
|
|
81
|
+
"eu-central-1": "22",
|
|
82
|
+
"eu-north-1": "22",
|
|
83
|
+
"eu-south-1": "14",
|
|
84
|
+
"eu-west-1": "22",
|
|
85
|
+
"eu-west-2": "22",
|
|
86
|
+
"eu-west-3": "22",
|
|
87
|
+
"me-south-1": "14",
|
|
88
|
+
"sa-east-1": "22",
|
|
89
|
+
"us-east-1": "22",
|
|
90
|
+
"us-east-2": "22",
|
|
91
|
+
"us-west-1": "22",
|
|
92
|
+
"us-west-2": "22"
|
|
93
93
|
},
|
|
94
94
|
"php-80": {
|
|
95
|
-
"af-south-1": "
|
|
96
|
-
"ap-east-1": "
|
|
97
|
-
"ap-northeast-1": "
|
|
98
|
-
"ap-northeast-2": "
|
|
99
|
-
"ap-northeast-3": "
|
|
95
|
+
"af-south-1": "14",
|
|
96
|
+
"ap-east-1": "14",
|
|
97
|
+
"ap-northeast-1": "21",
|
|
98
|
+
"ap-northeast-2": "21",
|
|
99
|
+
"ap-northeast-3": "21",
|
|
100
|
+
"ap-south-1": "23",
|
|
101
|
+
"ap-southeast-1": "21",
|
|
102
|
+
"ap-southeast-2": "23",
|
|
103
|
+
"ca-central-1": "24",
|
|
104
|
+
"eu-central-1": "24",
|
|
105
|
+
"eu-north-1": "24",
|
|
106
|
+
"eu-south-1": "14",
|
|
107
|
+
"eu-west-1": "24",
|
|
108
|
+
"eu-west-2": "24",
|
|
109
|
+
"eu-west-3": "24",
|
|
110
|
+
"me-south-1": "14",
|
|
111
|
+
"sa-east-1": "24",
|
|
112
|
+
"us-east-1": "24",
|
|
113
|
+
"us-east-2": "24",
|
|
114
|
+
"us-west-1": "24",
|
|
115
|
+
"us-west-2": "24"
|
|
116
|
+
},
|
|
117
|
+
"php-80-fpm": {
|
|
118
|
+
"af-south-1": "14",
|
|
119
|
+
"ap-east-1": "14",
|
|
120
|
+
"ap-northeast-1": "21",
|
|
121
|
+
"ap-northeast-2": "21",
|
|
122
|
+
"ap-northeast-3": "21",
|
|
123
|
+
"ap-south-1": "21",
|
|
124
|
+
"ap-southeast-1": "21",
|
|
125
|
+
"ap-southeast-2": "21",
|
|
126
|
+
"ca-central-1": "22",
|
|
127
|
+
"eu-central-1": "22",
|
|
128
|
+
"eu-north-1": "22",
|
|
129
|
+
"eu-south-1": "14",
|
|
130
|
+
"eu-west-1": "22",
|
|
131
|
+
"eu-west-2": "22",
|
|
132
|
+
"eu-west-3": "22",
|
|
133
|
+
"me-south-1": "14",
|
|
134
|
+
"sa-east-1": "22",
|
|
135
|
+
"us-east-1": "22",
|
|
136
|
+
"us-east-2": "22",
|
|
137
|
+
"us-west-1": "22",
|
|
138
|
+
"us-west-2": "22"
|
|
139
|
+
},
|
|
140
|
+
"arm-php-81": {
|
|
141
|
+
"af-south-1": "2",
|
|
142
|
+
"ap-east-1": "2",
|
|
143
|
+
"ap-northeast-1": "2",
|
|
144
|
+
"ap-northeast-2": "2",
|
|
145
|
+
"ap-northeast-3": "2",
|
|
146
|
+
"ap-south-1": "2",
|
|
147
|
+
"ap-southeast-1": "2",
|
|
148
|
+
"ap-southeast-2": "2",
|
|
149
|
+
"ca-central-1": "2",
|
|
150
|
+
"eu-central-1": "2",
|
|
151
|
+
"eu-north-1": "2",
|
|
152
|
+
"eu-south-1": "2",
|
|
153
|
+
"eu-west-1": "2",
|
|
154
|
+
"eu-west-2": "2",
|
|
155
|
+
"eu-west-3": "2",
|
|
156
|
+
"me-south-1": "2",
|
|
157
|
+
"sa-east-1": "2",
|
|
158
|
+
"us-east-1": "2",
|
|
159
|
+
"us-east-2": "2",
|
|
160
|
+
"us-west-1": "2",
|
|
161
|
+
"us-west-2": "2"
|
|
162
|
+
},
|
|
163
|
+
"arm-php-81-fpm": {
|
|
164
|
+
"af-south-1": "2",
|
|
165
|
+
"ap-east-1": "2",
|
|
166
|
+
"ap-northeast-1": "2",
|
|
167
|
+
"ap-northeast-2": "2",
|
|
168
|
+
"ap-northeast-3": "2",
|
|
169
|
+
"ap-south-1": "2",
|
|
170
|
+
"ap-southeast-1": "2",
|
|
171
|
+
"ap-southeast-2": "2",
|
|
172
|
+
"ca-central-1": "2",
|
|
173
|
+
"eu-central-1": "2",
|
|
174
|
+
"eu-north-1": "2",
|
|
175
|
+
"eu-south-1": "2",
|
|
176
|
+
"eu-west-1": "2",
|
|
177
|
+
"eu-west-2": "2",
|
|
178
|
+
"eu-west-3": "2",
|
|
179
|
+
"me-south-1": "2",
|
|
180
|
+
"sa-east-1": "2",
|
|
181
|
+
"us-east-1": "2",
|
|
182
|
+
"us-east-2": "2",
|
|
183
|
+
"us-west-1": "2",
|
|
184
|
+
"us-west-2": "2"
|
|
185
|
+
},
|
|
186
|
+
"arm-php-80": {
|
|
187
|
+
"af-south-1": "15",
|
|
188
|
+
"ap-east-1": "15",
|
|
189
|
+
"ap-northeast-1": "22",
|
|
190
|
+
"ap-northeast-2": "22",
|
|
191
|
+
"ap-northeast-3": "22",
|
|
100
192
|
"ap-south-1": "22",
|
|
101
|
-
"ap-southeast-1": "
|
|
193
|
+
"ap-southeast-1": "22",
|
|
102
194
|
"ap-southeast-2": "22",
|
|
103
195
|
"ca-central-1": "23",
|
|
104
|
-
"eu-central-1": "
|
|
196
|
+
"eu-central-1": "22",
|
|
105
197
|
"eu-north-1": "23",
|
|
106
|
-
"eu-south-1": "
|
|
198
|
+
"eu-south-1": "15",
|
|
107
199
|
"eu-west-1": "23",
|
|
108
200
|
"eu-west-2": "23",
|
|
109
201
|
"eu-west-3": "23",
|
|
110
|
-
"me-south-1": "
|
|
202
|
+
"me-south-1": "15",
|
|
111
203
|
"sa-east-1": "23",
|
|
112
204
|
"us-east-1": "23",
|
|
113
205
|
"us-east-2": "23",
|
|
114
206
|
"us-west-1": "23",
|
|
115
207
|
"us-west-2": "23"
|
|
116
208
|
},
|
|
117
|
-
"php-80-fpm": {
|
|
118
|
-
"af-south-1": "13",
|
|
119
|
-
"ap-east-1": "13",
|
|
120
|
-
"ap-northeast-1": "20",
|
|
121
|
-
"ap-northeast-2": "20",
|
|
122
|
-
"ap-northeast-3": "20",
|
|
123
|
-
"ap-south-1": "20",
|
|
124
|
-
"ap-southeast-1": "20",
|
|
125
|
-
"ap-southeast-2": "20",
|
|
126
|
-
"ca-central-1": "21",
|
|
127
|
-
"eu-central-1": "21",
|
|
128
|
-
"eu-north-1": "21",
|
|
129
|
-
"eu-south-1": "13",
|
|
130
|
-
"eu-west-1": "21",
|
|
131
|
-
"eu-west-2": "21",
|
|
132
|
-
"eu-west-3": "21",
|
|
133
|
-
"me-south-1": "13",
|
|
134
|
-
"sa-east-1": "21",
|
|
135
|
-
"us-east-1": "21",
|
|
136
|
-
"us-east-2": "21",
|
|
137
|
-
"us-west-1": "21",
|
|
138
|
-
"us-west-2": "21"
|
|
139
|
-
},
|
|
140
|
-
"arm-php-81": {
|
|
141
|
-
"af-south-1": "1",
|
|
142
|
-
"ap-east-1": "1",
|
|
143
|
-
"ap-northeast-1": "1",
|
|
144
|
-
"ap-northeast-2": "1",
|
|
145
|
-
"ap-northeast-3": "1",
|
|
146
|
-
"ap-south-1": "1",
|
|
147
|
-
"ap-southeast-1": "1",
|
|
148
|
-
"ap-southeast-2": "1",
|
|
149
|
-
"ca-central-1": "1",
|
|
150
|
-
"eu-central-1": "1",
|
|
151
|
-
"eu-north-1": "1",
|
|
152
|
-
"eu-south-1": "1",
|
|
153
|
-
"eu-west-1": "1",
|
|
154
|
-
"eu-west-2": "1",
|
|
155
|
-
"eu-west-3": "1",
|
|
156
|
-
"me-south-1": "1",
|
|
157
|
-
"sa-east-1": "1",
|
|
158
|
-
"us-east-1": "1",
|
|
159
|
-
"us-east-2": "1",
|
|
160
|
-
"us-west-1": "1",
|
|
161
|
-
"us-west-2": "1"
|
|
162
|
-
},
|
|
163
|
-
"arm-php-81-fpm": {
|
|
164
|
-
"af-south-1": "1",
|
|
165
|
-
"ap-east-1": "1",
|
|
166
|
-
"ap-northeast-1": "1",
|
|
167
|
-
"ap-northeast-2": "1",
|
|
168
|
-
"ap-northeast-3": "1",
|
|
169
|
-
"ap-south-1": "1",
|
|
170
|
-
"ap-southeast-1": "1",
|
|
171
|
-
"ap-southeast-2": "1",
|
|
172
|
-
"ca-central-1": "1",
|
|
173
|
-
"eu-central-1": "1",
|
|
174
|
-
"eu-north-1": "1",
|
|
175
|
-
"eu-south-1": "1",
|
|
176
|
-
"eu-west-1": "1",
|
|
177
|
-
"eu-west-2": "1",
|
|
178
|
-
"eu-west-3": "1",
|
|
179
|
-
"me-south-1": "1",
|
|
180
|
-
"sa-east-1": "1",
|
|
181
|
-
"us-east-1": "1",
|
|
182
|
-
"us-east-2": "1",
|
|
183
|
-
"us-west-1": "1",
|
|
184
|
-
"us-west-2": "1"
|
|
185
|
-
},
|
|
186
|
-
"arm-php-80": {
|
|
209
|
+
"arm-php-80-fpm": {
|
|
187
210
|
"af-south-1": "14",
|
|
188
211
|
"ap-east-1": "14",
|
|
189
212
|
"ap-northeast-1": "21",
|
|
@@ -193,7 +216,7 @@
|
|
|
193
216
|
"ap-southeast-1": "21",
|
|
194
217
|
"ap-southeast-2": "21",
|
|
195
218
|
"ca-central-1": "22",
|
|
196
|
-
"eu-central-1": "
|
|
219
|
+
"eu-central-1": "22",
|
|
197
220
|
"eu-north-1": "22",
|
|
198
221
|
"eu-south-1": "14",
|
|
199
222
|
"eu-west-1": "22",
|
|
@@ -206,50 +229,27 @@
|
|
|
206
229
|
"us-west-1": "22",
|
|
207
230
|
"us-west-2": "22"
|
|
208
231
|
},
|
|
209
|
-
"arm-php-80-fpm": {
|
|
210
|
-
"af-south-1": "13",
|
|
211
|
-
"ap-east-1": "13",
|
|
212
|
-
"ap-northeast-1": "20",
|
|
213
|
-
"ap-northeast-2": "20",
|
|
214
|
-
"ap-northeast-3": "20",
|
|
215
|
-
"ap-south-1": "20",
|
|
216
|
-
"ap-southeast-1": "20",
|
|
217
|
-
"ap-southeast-2": "20",
|
|
218
|
-
"ca-central-1": "21",
|
|
219
|
-
"eu-central-1": "21",
|
|
220
|
-
"eu-north-1": "21",
|
|
221
|
-
"eu-south-1": "13",
|
|
222
|
-
"eu-west-1": "21",
|
|
223
|
-
"eu-west-2": "21",
|
|
224
|
-
"eu-west-3": "21",
|
|
225
|
-
"me-south-1": "13",
|
|
226
|
-
"sa-east-1": "21",
|
|
227
|
-
"us-east-1": "21",
|
|
228
|
-
"us-east-2": "21",
|
|
229
|
-
"us-west-1": "21",
|
|
230
|
-
"us-west-2": "21"
|
|
231
|
-
},
|
|
232
232
|
"console": {
|
|
233
|
-
"af-south-1": "
|
|
234
|
-
"ap-east-1": "
|
|
235
|
-
"ap-northeast-1": "
|
|
236
|
-
"ap-northeast-2": "
|
|
237
|
-
"ap-northeast-3": "
|
|
238
|
-
"ap-south-1": "
|
|
239
|
-
"ap-southeast-1": "
|
|
240
|
-
"ap-southeast-2": "
|
|
241
|
-
"ca-central-1": "
|
|
242
|
-
"eu-central-1": "
|
|
243
|
-
"eu-north-1": "
|
|
244
|
-
"eu-south-1": "
|
|
245
|
-
"eu-west-1": "
|
|
246
|
-
"eu-west-2": "
|
|
247
|
-
"eu-west-3": "
|
|
248
|
-
"me-south-1": "
|
|
249
|
-
"sa-east-1": "
|
|
250
|
-
"us-east-1": "
|
|
251
|
-
"us-east-2": "
|
|
252
|
-
"us-west-1": "
|
|
253
|
-
"us-west-2": "
|
|
233
|
+
"af-south-1": "14",
|
|
234
|
+
"ap-east-1": "14",
|
|
235
|
+
"ap-northeast-1": "21",
|
|
236
|
+
"ap-northeast-2": "21",
|
|
237
|
+
"ap-northeast-3": "21",
|
|
238
|
+
"ap-south-1": "21",
|
|
239
|
+
"ap-southeast-1": "21",
|
|
240
|
+
"ap-southeast-2": "21",
|
|
241
|
+
"ca-central-1": "22",
|
|
242
|
+
"eu-central-1": "22",
|
|
243
|
+
"eu-north-1": "22",
|
|
244
|
+
"eu-south-1": "14",
|
|
245
|
+
"eu-west-1": "22",
|
|
246
|
+
"eu-west-2": "22",
|
|
247
|
+
"eu-west-3": "22",
|
|
248
|
+
"me-south-1": "14",
|
|
249
|
+
"sa-east-1": "22",
|
|
250
|
+
"us-east-1": "22",
|
|
251
|
+
"us-east-2": "22",
|
|
252
|
+
"us-west-1": "22",
|
|
253
|
+
"us-west-2": "22"
|
|
254
254
|
}
|
|
255
255
|
}
|
package/package.json
CHANGED
|
@@ -1,16 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bref.sh/layers",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.22",
|
|
4
4
|
"description": "Bref.sh AWS Lambda layers",
|
|
5
5
|
"repository": "brefphp/layers.js",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"main": "layers.js",
|
|
8
8
|
"scripts": {
|
|
9
|
-
"update": "node scripts/update.js"
|
|
9
|
+
"update": "node scripts/update.js",
|
|
10
|
+
"test": "vitest"
|
|
10
11
|
},
|
|
11
12
|
"devDependencies": {
|
|
12
13
|
"@aws-sdk/client-lambda": "^3.192.0",
|
|
13
|
-
"chunk": "^0.0.3"
|
|
14
|
+
"chunk": "^0.0.3",
|
|
15
|
+
"vitest": "^0.25.8"
|
|
14
16
|
},
|
|
15
17
|
"engines": {
|
|
16
18
|
"node": ">=12.12"
|