-
Notifications
You must be signed in to change notification settings - Fork 426
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: revert changes to custom resources of passing hostedzoneids (#5540)
Sorry again for this mistake 🙇 I did not anticipate that it breaks the permissions required to create environment and services. Previously we added the logic to pass all the HostedZoneId as params in the custom resource in #5315. But this introduces a bug as @Lou1415926 described in this issue #5535 (comment) So reverting this changes as these are not necessary because `listHostedZonesByName` always fetches all the public hosted zones followed by private hosted zones. And also I think these modifications for filtering of hosted zones are not required in custom resources because `listHostedZonesByName` api call always lists all the public hosted zones first and at last it lists private hosted zones. The logic we have in all the custom resources always works to fetch public hosted zone. ``` const data = await appRoute53Client.listHostedZonesByName({ DNSName: domainName, MaxItems: "1", }).promise(); ```
- Loading branch information
1 parent
ae710d5
commit 8de7d2b
Showing
40 changed files
with
100 additions
and
433 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
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
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
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
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
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.