PaloAltoNetworks / terraform-aws-swfw-modules

Terraform Reusable Modules for Software Firewalls on AWS
https://registry.terraform.io/modules/PaloAltoNetworks/swfw-modules/aws
MIT License
14 stars 11 forks source link

ASG Python 3.8 deprecated, update Lambda #42

Closed pimielowski closed 4 months ago

pimielowski commented 6 months ago

Is your feature request related to a problem?

Python 3.8 | python3.8 | Amazon Linux 2 | Oct 14, 2024 -- | -- | -- | --

Since AWS announces deprecation of the Python 3.8 it is recommended to update the codebase to Python 3.12+. In this issue, we can also add a feature to handle IPv6 creation of the ENI.

Describe the solution you'd like

Support higher version of the Python

Describe alternatives you've considered.

No response

Additional context

No response

sebastianczech commented 4 months ago

As module asg uses pan-os-python in version 1.11.0, we cannot use Python 3.12, because there are still opened issues like https://github.com/PaloAltoNetworks/pan-os-python/issues/529. In this feature request Lambda is going to be updated to Python 3.11 (it doesn't have any deprecation date: https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html).

For IPv6 support I recommend to open separate feature request as it's different requirements.