8000 CFn: populate APIGW regional* properties (#12320) · localstack/localstack@f48e6bd · GitHub
[go: up one dir, main page]

Skip to content

Commit f48e6bd

Browse files
authored
CFn: populate APIGW regional* properties (#12320)
1 parent 8edf11f commit f48e6bd

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

localstack-core/localstack/services/apigateway/resource_providers/aws_apigateway_domainname.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,12 @@ def create(
105105
model["DistributionDomainName"] = result.get("distributionDomainName") or result.get(
106106
"domainName"
107107
)
108+
model["RegionalDomainName"] = (
109+
result.get("regionalDomainName") or model["DistributionDomainName"]
110+
)
111+
model["RegionalHostedZoneId"] = (
112+
result.get("regionalHostedZoneId") or model["DistributionHostedZoneId"]
113+
)
108114

109115
return ProgressEvent(
110116
status=OperationStatus.SUCCESS,

0 commit comments

Comments
 (0)
0