aws / chalice

Python Serverless Microframework for AWS
Apache License 2.0
10.6k stars 1.01k forks source link

Update Terraform AWS Provider #2097

Open hyde-mwarren opened 6 months ago

hyde-mwarren commented 6 months ago

The Terraform AWS provider is currently pinned to <5. This means that lambdas are limited to the Python 3.10 runtime.

"required_providers": {
      "aws": {
        "version": ">= 2, < 5"
      },

below are the versions when the new Python runtimes were added to the AWS provider:

maierthomas commented 5 months ago

Used AWS Provider

image

maierthomas commented 5 months ago

Has anyone tried changing the Terraform AWS provider manually? (>5) What side effect does it have on the terra deployment?

rodolfolottin commented 4 months ago

Hi @jamesls, I think this currently blocks creating managed layers using Python 3.11 or greater. I saw that you put a PR #2087 but I didn't see these changes there. Was that on purpose?

rodolfolottin commented 4 months ago

I manually updated it and everything has been working so far.