chalice icon indicating copy to clipboard operation
chalice copied to clipboard

Update Terraform AWS Provider

Open hyde-mwarren opened this issue 1 year ago • 4 comments

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:

  • Python 3.10 - AWS Provider v5.10.0
  • Python 3.11 - AWS Provider v5.32.0

hyde-mwarren avatar Feb 26 '24 22:02 hyde-mwarren

Used AWS Provider

  • Installed hashicorp/aws v4.67.0 (signed by HashiCorp)

image

maierthomas avatar Mar 18 '24 10:03 maierthomas

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

maierthomas avatar Mar 18 '24 10:03 maierthomas

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 avatar Apr 09 '24 11:04 rodolfolottin

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

rodolfolottin avatar Apr 11 '24 18:04 rodolfolottin