-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Implement AWS_METADATA_SERVICE_TIMEOUT + AWS_METADATA_SERVICE_NUM_ATTEMPTS #3495
Comments
Thanks for reaching out to us about this @lifeofguenter. Can you provide some details regarding your use case that necessitates these environment variables? Are you currently unable to set these values in your config without them? Describing any other issues you're running into related to this would help us implement support for these in a useful manner. |
This was recommended by aws-support for boto3/aws-cli due to IMDS being a service with rate limits. However, in our case, we heavily use terraform which uses the aws-sdk-go library, so it would be great if one could set these settings here as well. Context: hashicorp/terraform#25835 (comment) |
We have also started running into this issue. It would be great if we could get these env vars supported for parity with boto3. |
We have noticed this issue has not received attention in 1 year. We will close this issue for now. If you think this is in error, please feel free to comment and reopen the issue. |
still relevant? |
Please do not close this - e.g. terraform stopped supporting its custom metadata timeout solution and relies only on AWS_METADATA_SERVICE_TIMEOUT - which is not supported in go aws sdk yet - which is very strange. For large scale usage of terraform and in our go applications, unability to set timeout is causing huge issue. There is no good workaround for that (one can only retrigger the calls if they fail after some random wait time). |
I would like to see this implemented as well. We are getting intermittent IMDS errors on our Jenkins server when attempting to apply Terraform:
It would be nice to set |
Comments on closed issues are hard for our team to see. |
Would be great if
AWS_METADATA_SERVICE_TIMEOUT
andAWS_METADATA_SERVICE_NUM_ATTEMPTS
could be implemented analogue to boto/python-sdk.The text was updated successfully, but these errors were encountered: