AWS Patch/Scan failure with message: No IMDS credentials found on instance.
0
Error output:
/usr/lib/python3.6/site-packages/OpenSSL/crypto.py:12: 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