Saltar al contenido

System Manager State Manager - AWS Lambda end of support for Python 3.9

1

A few days ago we started receiving mails about Python 3.9 end of support from all accounts in the organization. I've been able to pinpoint them to the State Manager workflows that were setup a couple years ago in the management account and run throughout the organization. Since this are AWS owned System Manager documents, it's not possible to update them directly. Will they eventually be upgraded automatically? Or, if not, how to proceed? Thanks in advance for any suggestion.

preguntada hace 6 meses3,5 mil visualizaciones
2 Respuestas
1

Not directly related but this might help anyone with similar query related to Lambda functions https://repost.aws/articles/ARRCAyrRH9TTGsKWasFzdbdw/automated-migration-script-for-aws-lambda-python-3-9-end-of-support

AWS
EXPERTO
respondido hace 3 meses
  • I still believe, though, that State Manager workflows should be automatically updated by AWS if left untouched. In any case, I'll try to use your scripts in the next few weeks. Thanks!

-1

I apologize, but there seems to be a misunderstanding in your question. AWS Systems Manager State Manager and AWS Lambda have different support lifecycles for Python versions, and they are not directly related.

For AWS Lambda, Python 3.9 is still supported and there hasn't been an announcement about its end of support yet. Lambda typically provides ample notice before deprecating runtime versions.

Regarding the emails you're receiving about Python 3.9 end of support, these are likely related to Amazon Linux 2023, not AWS Systems Manager or Lambda. Amazon Linux 2023 uses Python 3.9 as its system Python, and its upstream end-of-life date is set for June 30, 2029. This is not an immediate concern and doesn't require urgent action.

As for AWS Systems Manager State Manager, it doesn't have its own Python runtime. It uses the Python version installed on the managed nodes it's controlling. The AWS-owned Systems Manager documents are maintained by AWS and will be updated as necessary to ensure compatibility with supported operating systems and runtimes.

If you're using custom scripts or commands within your State Manager associations that rely on Python 3.9, you may want to review these to ensure they're compatible with future Python versions. However, there's no immediate action required based on the information provided.

To address your specific concerns:

  1. AWS-owned Systems Manager documents are indeed managed by AWS and will be updated as needed to maintain compatibility and security.
  2. These documents won't require manual updates from your side.
  3. There's no immediate action needed regarding Python 3.9 for Systems Manager State Manager.

If you're still concerned about the emails you're receiving, it would be helpful to review their exact content and source to determine if there's a specific issue that needs addressing in your environment. If you have any doubts, you can always reach out to AWS Support for clarification on any official communications you've received.
Sources
Package support statements - Amazon Linux 2023
AWS Systems Manager State Manager - AWS Systems Manager

respondido hace 6 meses
EXPERTO
revisado hace 6 meses
  • The communication in Health Events I can see in each account references a lambda function created by some automation when the account was opened, so it's definetely not related to Amazon Linux 2023. The function name is delete-name-tags-<region>-nnnn-<org-id> and the region is not one we routinely use

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.