Skip to content

Commit c5d2669

Browse files
committed
chore: update call to CDK architecture
1 parent 273be4c commit c5d2669

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

layer/layer/canary_stack.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def __init__(
3333
"Canary-x86-64",
3434
layer_arn=layer_arn,
3535
powertools_version=powertools_version,
36-
architecture=Architecture.X86_64(),
36+
architecture=Architecture.X86_64,
3737
)
3838

3939
layer_arm64_arn = StringParameter.from_string_parameter_attributes(
@@ -46,7 +46,7 @@ def __init__(
4646
"Canary-arm64",
4747
layer_arn=layer_arm64_arn,
4848
powertools_version=powertools_version,
49-
architecture=Architecture.ARM_64(),
49+
architecture=Architecture.ARM_64,
5050
)
5151

5252

layer/layer/layer_stack.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def __init__(
2323
layer_version_name="AWSLambdaPowertoolsPythonV2",
2424
version=powertools_version,
2525
include_extras=True,
26-
compatible_architectures=[Architecture.X86_64()],
26+
compatible_architectures=[Architecture.X86_64],
2727
)
2828

2929
layer_arm64 = LambdaPowertoolsLayer(
@@ -32,7 +32,7 @@ def __init__(
3232
layer_version_name="AWSLambdaPowertoolsPythonV2-Arm64",
3333
version=powertools_version,
3434
include_extras=True,
35-
compatible_architectures=[Architecture.ARM_64()],
35+
compatible_architectures=[Architecture.ARM_64],
3636
)
3737

3838
layer_permission = CfnLayerVersionPermission(

0 commit comments

Comments
 (0)