Closed patrickufer closed 4 months ago
Overrides should be passed through the same for NextjsDomain as they are for the other constructs.
NextjsDomain
Currently this doesn't work:
new Nextjs(this, 'Nextjs', { nextjsPath: props.sourcePath, domainProps: { hostedZone, domainName, certificate }, overrides: { nextjsDomain: { aRecordProps: { deleteExisting: true }, aaaaRecordProps: { deleteExisting: true } } } })
But this does
new Nextjs(this, 'Nextjs', { nextjsPath: props.sourcePath, domainProps: { hostedZone, domainName, certificate }, overrides: { nextjs: { nextjsDomainProps: { overrides: { aRecordProps: { deleteExisting: true }, aaaaRecordProps: { deleteExisting: true } } } } } })
Overrides should be passed through the same for
NextjsDomain
as they are for the other constructs.Currently this doesn't work:
But this does