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

Add support for multiple certificates #59

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dezeroku
Copy link

This change allows customCertificate entry to be an array of objects.
Each object describes a single certificate entry, using the supported
options.

The change is fully backwards compatible (object type
customCertificate works exactly as it did before).

Also some functions are now async.

Tested with serverless 3.1.1

TODO:

  1. not sure what to do with return values now (multiple function calls = multiple return values). These seem to be safe to ignore, but would be great if someone could confirm it
  2. I was testing this with newest serverless (3.1.1) and the getCertificatePropertyOld didn't seem to be called by anything. It's likely something used in older versions? Needs to be checked and ported there too

This change allows `customCertificate` entry to be an array of objects.
Each object describes a single certificate entry, using the supported
options.

The change is fully backwards compatible (object type
`customCertificate` works exactly as it did before).

Also some functions are now `async`.

Tested with serverless 3.1.1

TODO: think about the return values + there's one variable resolver that
I can't test (requires older serverless probably?)
@dezeroku
Copy link
Author

This fixes #47

@0Lucifer0
Copy link

LGTM

@stankowalik
Copy link

+1 for this

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.

4 participants