Closed niiigoo closed 1 year ago
I had the same issue in one of my client's legacy applications which were using some 3.x version of the aws-php-sdk. The solution which worked for me was to use latest version of the PHP SDK which right now is: 3.178.0 So it seems the solution for this issue is the SDK upgrade in this library and considering how it is written in composer.json i.e "aws/aws-sdk-php": "~3.0" A quick composer update command (which will bump up your aws-sdk-php version to the latest minor release i.e 3.178.0) should resolve this issue.
I can confirm that updating aws-php-sdk to at least 3.173.19 fixes this issue. So seems unrelated to this repo 😉
Hi @niiigoo, thanks for opening this issue. Could you please try updating to the latest SDK version as @kumarravisingh and @mathiasselleslach mentioned?, also thanks to you folks for the comments.
@niiigoo In the meantime I will close this issue, but if after updating to the latest version the issue persist just reach out back.
Thanks!
Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.
Confirm by changing [ ] to [x] below to ensure that it's a bug:
Describe the bug We have an ECS Cluster and a task should publish events to SNS topics. It works fine for non-fifo topics, but for fifo ones, the following error is returned:
Invalid parameter: The MessageGroupId parameter is required for FIFO topics
.We use the region
eu-central-1
and the task has the permission to publish SNS messages from the assigned role.This is the used code snipped (the arn of the topic is correct):
Detailed log entry:
The parameters are set accordingly to the PHP SDK Reference.
Version of AWS SDK for PHP? aws/aws-sdk-php-laravel: 3.6.0 aws/aws-sdk-php: 3.138.8
Version of AWS Service Provider for Laravel?
Version of Laravel (
php artisan --version
)? 7.13.0Version of PHP (
php -v
)? 7.4.5To Reproduce (observed behavior)
Expected behavior The request to aws should contain the given parameters and of course, should be accepted/processed
Additional context The package
aws/aws-sdk-php-laravel
was installed withcomposer require aws/aws-sdk-php-laravel:^3.0
and the packageaws/aws-sdk-php:3.138.8
was automatically installed. I'm not sure how to update this dependency (current version: 3.171.2)