-
Notifications
You must be signed in to change notification settings - Fork 401
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(lambda): fix svc delete failure if alias enabled for multiple d…
…eployments (#2434) Previously if multiple LB service deployments enable alias in the same app, it starts to fail from the second deployment deletion. It is because previously the cert by default we create includes ```yaml - !Sub "${AppDNSName}" - !Sub "*.${AppDNSName}" - !Sub "${AppName}.${AppDNSName}" - !Sub "*.${AppName}.${AppDNSName}" - !Sub "*.${EnvironmentName}.${AppName}.${AppDNSName}" ``` as subject alternative names for the cert, resulting multiple certs share the same DNS validation record in app hosted zone and root hosted zone. This PR fixes this behavior by making the new cert specifically for their aliases. <!-- Provide summary of changes --> <!-- Issue number, if available. E.g. "Fixes #31", "Addresses #42, 77" --> By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
- Loading branch information
1 parent
3c238b5
commit d8f9ac5
Showing
3 changed files
with
318 additions
and
131 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.