Skip to content
This repository was archived by the owner on Jul 21, 2025. It is now read-only.

Commit 1b06b61

Browse files
committed
set domain_mapping in stage construct
1 parent a1d7b82 commit 1b06b61

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

infrastructure/aws/stacks/constructs/geoparquet_api_lambda.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -79,11 +79,6 @@ def __init__(
7979
if self.domain_name
8080
else None,
8181
),
82-
default_domain_mapping=DomainMappingOptions(
83-
domain_name=self.domain_name,
84-
)
85-
if self.domain_name
86-
else None,
8782
create_default_stage=False, # Important: disable default stage creation
8883
)
8984

@@ -99,4 +94,9 @@ def __init__(
9994
)
10095
if config.rate_limit
10196
else None,
97+
domain_mapping=DomainMappingOptions(
98+
domain_name=self.domain_name,
99+
)
100+
if self.domain_name
101+
else None,
102102
)

0 commit comments

Comments
 (0)