DefangLabs / defang

Defang CLI and sample projects. Defang is a radically simpler way for developers to develop, deploy, and debug cloud applications.
https://defang.io
MIT License
39 stars 9 forks source link

Need domain delegation for preview mode #880

Closed lionello closed 3 days ago

lionello commented 4 days ago

Description

defang cd preview is useful in BYOC to see what the diff is, but currently it fails because when there's no delegation ID, the CD TS code assumes a domain was created by the CLI, which is no longer the case, so the call to getZone fails. To add insult to injury, the error message does not show what domain is missing, but adding DEFANG_DEBUG=1 will show the log from https://github.com/DefangLabs/defang-mvp/blob/c532d2431c1b887f5d557cace6624453908530a4/pulumi/shared/aws.ts#L151

Linked Issues

Checklist