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

Support IMDSv2 when using Amazon EC2 instances #3425

Merged
merged 2 commits into from
Dec 4, 2022

Conversation

nathanthorpe
Copy link
Contributor

Related issue #2962

Since the new AWS SDK for Java (> v1.11.678) supports IMDSv2, this changes the fetchIamRole and fetchRegion methods in the AmazonClientFactory to use the SDK's implementation to get those properties rather than querying the metadata endpoint directly.

@pditommaso pditommaso merged commit e350f31 into nextflow-io:master Dec 4, 2022
marcodelapierre pushed a commit to marcodelapierre/nextflow that referenced this pull request Dec 5, 2022
… [ci skip]

Signed-off-by: Nathan Thorpe <[email protected]>
Co-authored-by: Paolo Di Tommaso <[email protected]>
Signed-off-by: Marco De La Pierre <[email protected]>
@nathanthorpe nathanthorpe deleted the support-imdsv2 branch December 22, 2022 00:40
l-modolo pushed a commit to l-modolo/nextflow that referenced this pull request Jan 25, 2023
… [ci skip]



Signed-off-by: Nathan Thorpe <[email protected]>
Co-authored-by: Paolo Di Tommaso <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants