aws-samples / serverless-patterns

Serverless patterns. Learn more at the website: https://serverlessland.com/patterns.
https://serverlessland.com
Other
1.5k stars 883 forks source link

Update "hashicorp/aws" to 5.x #2308

Open trivikr opened 3 weeks ago

trivikr commented 3 weeks ago

Is your feature request related to a problem? Please describe.

The latest version "hashicorp/aws" at the time of issue creation is 5.53.0: https://registry.terraform.io/providers/hashicorp/aws/latest

There are 66 *.tf files in serverless-patterns, both of which use 3.x or 4.x of the provider https://github.com/search?q=repo%3Aaws-samples%2Fserverless-patterns+hashicorp%2Faws+path%3A*.tf&type=code

This blocks certain other upgrades. For example, the Lambda Node.js 20.x was supported only in 5.27.0 https://github.com/aws-samples/serverless-patterns/pull/2295#issuecomment-2158050101

Describe the solution you'd like

Update "hashicorp/aws" to 5.x in all patterns

trivikr commented 3 weeks ago

Breaking changes: