jenkinsci / jenkinsci/ec2-plugin

[JENKINS-65127] EC2 Plugin : Metadata version option.

Open
#1,815 1 comment 0 reactions 0 assignees View on GitHub
component:ec2-plugin enhancement imported-jira-issue priority:critical resolution:unresolved
Dominant language
Java
Stars
292
Forks
709
Avg merge
3d 16h
Merged PRs (30d)
4

Description

Installed Jenkins master  on AWS linux-EC2 instance and trying to spin up EC2 instances as Jenkins agents using this plugin - https://plugins.jenkins.io/ec2/ and getting an exception during provisioning.

We believe the plugin is trying to bring up the instance using imdsv1. But we need it to be set to V2.

This Jenkins plugin do not have an option to specify the metadata version. Can this plugin  be enhanced to include the option to provide metadata type(imdsv1/v2) ?

---
Originally reported by papisettysatish, imported from: EC2 Plugin : Metadata version option.


  • assignee: thoulen
  • status: Open
  • priority: Critical
  • component(s): ec2-plugin
  • resolution: Unresolved
  • votes: 1
  • watchers: 3
  • imported: 2025-12-06

Raw content of original issue

Installed Jenkins master  on AWS linux-EC2 instance and trying to spin up EC2 instances as Jenkins agents using this plugin - https://plugins.jenkins.io/ec2/ and getting an exception during provisioning.

We believe the plugin is trying to bring up the instance using imdsv1. But we need it to be set to V2.

This Jenkins plugin do not have an option to specify the metadata version. Can this plugin  be enhanced to include the option to provide metadata type(imdsv1/v2) ?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.