Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Config schema: Define AWS "cloudFront" function event properties #8025

Closed
medikoo opened this issue Jul 31, 2020 · 0 comments · Fixed by #8250
Closed

Config schema: Define AWS "cloudFront" function event properties #8025

medikoo opened this issue Jul 31, 2020 · 0 comments · Fixed by #8250

Comments

@medikoo
Copy link
Contributor

medikoo commented Jul 31, 2020

Use case description

It'll be nice to have cloudFront event fully covered by schema validation

Proposed solution

Follow up to #6562, with which only schema placeholder for event was configured.

Define schema of all cloudFront event properties

Should be done directly in: lib/plugins/aws/package/compile/events/cloudFront/index.js:

// TODO: Complete schema, see https://github.com/serverless/serverless/issues/8025
this.serverless.configSchemaHandler.defineFunctionEvent('aws', 'cloudFront', {
type: 'object',
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant