-
Takahiro Itazuri authored
EC2 IMDS sets X-Aws-Ec2-Metadata-Token-Ttl-Seconds header in the response to PUT /latest/api/token, while MMDS didn't. AWS SDK for Go tries to parse it as integer (i.e. tries to parse an empty string "" as integer) [1]. [1]: https://github.com/aws/aws-sdk-go-v2/blob/7a614d9fcccd492af3b87aa43c7c203cb636804e/feature/ec2/imds/api_op_GetToken.go#L82-L85 Signed-off-by:
Takahiro Itazuri <itazur@amazon.com>
98f8d9a8Takahiro Itazuri authoredEC2 IMDS sets X-Aws-Ec2-Metadata-Token-Ttl-Seconds header in the response to PUT /latest/api/token, while MMDS didn't. AWS SDK for Go tries to parse it as integer (i.e. tries to parse an empty string "" as integer) [1]. [1]: https://github.com/aws/aws-sdk-go-v2/blob/7a614d9fcccd492af3b87aa43c7c203cb636804e/feature/ec2/imds/api_op_GetToken.go#L82-L85 Signed-off-by:
Takahiro Itazuri <itazur@amazon.com>
To find the state of this project's repository at the time of any of these versions, check out the tags.
Loading