Skip to content

Commit cf3d1c6

Browse files
committed
chore: apply hotfix to layer publisher architectures (#1400)
1 parent 8d8c585 commit cf3d1c6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: layers/src/layer-publisher-stack.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ export class LayerPublisherStack extends Stack {
3838
Runtime.NODEJS_18_X
3939
],
4040
license: 'MIT-0',
41-
compatibleArchitectures: [Architecture.X86_64],
41+
// This is needed because the following regions do not support the compatibleArchitectures property
42+
...(![ 'eu-south-2', 'eu-central-2', 'ap-southeast-4' ].includes(Stack.of(this).region) && { compatibleArchitectures: [Architecture.X86_64] }),
4243
code: Code.fromAsset('../tmp'),
4344
});
4445

0 commit comments

Comments
 (0)