Architecture

Now create a S3 bucket to avoid errors us us-east-2 as aws account region with bucket versioning enabled

Next head to dashboard and open Iam to create a new Iam role for S3

Click next and add the following role:
AmazonSSMManagedInstanceCore
AmazonS3ReadOnlyAccess
Next create role name and click create role

Now we have successfully created a role our S3
