Skip to content

Conversation

@ptrutanicex
Copy link
Contributor

@ptrutanicex ptrutanicex commented Nov 23, 2023

This PR makes hostedZoneId and domain optional for web server

Link to issue: #11

@ptrutanicex ptrutanicex requested a review from ikovac November 23, 2023 10:55
const hasCustomDomain = domain && hostedZoneId;
if (domain && !hostedZoneId) {
throw new Error(
'NuxtSSR:hostedZoneId must be provided when the domain is specified',
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You should change NuxtSSR to WebServer

Comment on lines 264 to 266
const ecsDependencies = [this.lb, this.lbTargetGroup, this.lbHttpListener];
if (this.lbTlsListener) ecsDependencies.push(this.lbTlsListener);

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can only keep lb and lbTargetGroup as dependencies here.

@ikovac ikovac merged commit e39f37d into master Nov 27, 2023
@ikovac ikovac deleted the feature/hosted-zone-optional branch November 27, 2023 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants