Skip to content

Commit

Permalink
fix(domain): pass certificateArn to domain component (#826)
Browse files Browse the repository at this point in the history
  • Loading branch information
huksley committed Dec 2, 2020
1 parent f63bc76 commit b7cf083
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
Expand Up @@ -655,7 +655,8 @@ class NextjsComponent extends Component {
[subdomain]: cloudFrontOutputs
},
domainType: inputs.domainType || "both",
defaultCloudfrontInputs: cloudFrontDefaults
defaultCloudfrontInputs: cloudFrontDefaults,
certificateArn: inputs.certificateArn
});
appUrl = domainOutputs.domains[0];
}
Expand Down
1 change: 1 addition & 0 deletions packages/serverless-components/nextjs-component/types.d.ts
Expand Up @@ -26,6 +26,7 @@ export type ServerlessComponentInputs = {
deploy?: boolean;
enableHTTPCompression?: boolean;
authentication?: { username: string; password: string };
certificateArn?: string;
};

type CloudfrontOptions = Record<string, any>;
Expand Down

0 comments on commit b7cf083

Please sign in to comment.