Skip to content

Commit f6543d5

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

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

+2-2
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,8 @@ export class LayerPublisherStack extends Stack {
3838
Runtime.NODEJS_18_X
3939
],
4040
license: 'MIT-0',
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] }),
41+
// This is needed because the following regions do not support the compatibleArchitectures property #1400
42+
...([ 'eu-south-2', 'eu-central-2', 'ap-southeast-4' ].includes(Stack.of(this).region) ? { compatibleArchitectures: [Architecture.X86_64] } : {}),
4343
code: Code.fromAsset('../tmp'),
4444
});
4545

0 commit comments

Comments
 (0)