-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(aws-lambda): Allow IMDSv2 as protocol to retrieve EC2 instance role
This adds optional support for the IMDSv2 protocol. By default, the aws-lambda plugin will use the IMDSv1 protocol to retrieve the instance role. Users can configure it to use IMDSv2 instead by setting the configuration parameter `aws_imds_protocol_version` to `v2`. The default for the parameter is `v1` to ensure that installations that run Kong inside of Docker on EC2 will continue to work unchanged. Signed-off-by: Ivan Savcic <isavcic@gmail.com>
- Loading branch information
Showing
4 changed files
with
87 additions
and
12 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