craftcms / aws-s3

Amazon S3 volume type for Craft CMS.
https://plugins.craftcms.com/aws-s3
MIT License
61 stars 28 forks source link

Add IAM support for ECS tasks #122

Closed JorisAndrade closed 3 years ago

JorisAndrade commented 3 years ago

Description

This PR adds support for https://docs.aws.amazon.com/AmazonECS/latest/developerguide/task-iam-roles.html. It's mostly based on https://github.com/craftcms/aws-s3/pull/118 and https://github.com/craftcms/aws-s3/pull/121/files

I used https://docs.aws.amazon.com/sdk-for-php/v3/developer-guide/guide_credentials_provider.html for the configuration.

Note: I'm not a PHP developer 😅 so if there is anything to change, let me know!

andris-sevcenko commented 3 years ago

Looks good to me!

andris-sevcenko commented 3 years ago

Just cut the 1.2.14 1.2.15 release with this, thanks again!