elementor / wp2static-addon-s3

S3 deployment Add-on for WP2Static
The Unlicense
35 stars 23 forks source link

AWS Assume Role #42

Closed fabge closed 3 years ago

fabge commented 4 years ago

Hello,

I’d like to publish the static content of a WordPress site to an AWS S3 bucket.

In our company, we have some restrictions in the AWS cloud accounts. One of them is, that the user can only assume a role. Only the role then gives the user permissions to e.g. upload to S3.

Unfortunately the ‘assume role’ concept is not built into WP2Static, eventhough this pattern is quite common.

Are there any workarounds?

Best Fabian

TooheyPaneer commented 4 years ago

+1 on this.

I've tried assigned an IAM role to the EC2 instance and it doesn't get respected.

An option to used the IAM EC2 Profile would be awesome or to select a profile from the .aws/config would be great.

Thanks

john-shaffer commented 4 years ago

@TooheyPaneer Are you using v6? v7 should use the EC2 instance role when you don't specify an AWS key pair.

leonstafford commented 3 years ago

should be working fine for some time now. please let me know if still facing issues using instance role