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) ?