AWS Patch/Scan failure with message: No IMDS credentials found on instance.


Error output: /usr/lib/python3.6/site-packages/OpenSSL/ CryptographyDeprecationWarning: Python 3.6 is no longer supported by the Python core team. Therefore, support for it is deprecated in cryptography. The next release of cryptography (40.0) will be the last to support Python 3.6. from cryptography import x509 No IMDS credentials found on instance.failed to run commands: exit status 156

Any idea on how to fix this?

asked a year ago424 views
1 Answer

From the error, it appears to be due to an older version of Python.
Try upgrading your Python version.

profile picture
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions