lambda-sqs-terraform: Update AWS Provider to v6 for nodejs24.x #2912
+1
−1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Issue #, if available:
N/A
Description of changes:
Hi😀 Thanks for the useful patterns!
This commit forces the Lambda nodejs24.x runtime, but it seems the update was made without verifying that it actually works.
As a result, I get the following error:
So I fixed it.
Check
terraform applycompleted successfully and works good.$ aws lambda invoke --function-name QueuePublisherFunction response.json --region us-east-1 $ aws sqs receive-message --queue-url https://sqs.us-east-1.amazonaws.com/000000000000/terraform-20260113135716734100000003 --region us-east-1 { "Messages": [ { "MessageId": "e6d6b936-ea9d-4f4f-af7c-8e1f35ee303a", "ReceiptHandle": "AQEB7d3dk8SiH3h29hOIlvWIfqHHJcDgcTvf9JqvxocSjf/4KWgCPlaVXZ7IddmoymWdrCoTvOIWXQvQQJEC3tqNJCxD4GkVONfoblOQ/myUdJMOpFYYia06xMBsfuRBad5bzo9TC9bW7uHU+QU4TzWbQTK97yLZRkBsFGOqaRVCR4tyS2fipMnU2wyRVVc5rWiWneA7mVCLMtIwJbFff2aRSoVb3CA0DZ7/qHPZ/1khWcBq0buYU1NaUAQL59e3KcrPaNNHLCLNjFlsYOi0xElLm5WG93oK71Pnu+x+hGAvT/udElZq76ufOEIWjS6MysizsNw0aEiE8rayV5R+61WyRgQRP6dcVgo0TteDRbBU5QdnTyD/sPuhtK9wIUWx7JkRJxYElfAXNTK1+bi2LShnQXKSzfALxE9Fdb+ZxyXmyKs=", "MD5OfBody": "140a512452e7463e71199303a7df401b", "Body": "Message at Tue Jan 13 2026 13:59:11 GMT+0000 (Coordinated Universal Time)" } ] }Thank you😀
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.