跳至内容

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.

已提问 6 个月前3489 查看次数
2 回答
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
专家
已回答 3 个月前
  • 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

已回答 6 个月前
专家
已审核 6 个月前
  • 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

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。