Problems with images uploading to S3

Struggling to get the images to upload to s3. Everything looks to be configured and I’ve setup the user and permissions with a policy in AWS for the required access to the bucket.

I’m using the following config in my grafana.ini file:

[external_image_storage.s3]
bucket = https://s3-ap-southeast-1.amazonaws.com/myclient-grafana-images/
region = ap-southeast-1
;path =
access_key = MyAccessKey
secret_key = MySecretkey

Had a look in the grafana log after a restart and triggering a few alerts but nothing being logged relating to s3 around the time of the triggered alert.

My permissions policy in aws for the user looks like this:

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "VisualEditor0",
            "Effect": "Allow",
            "Action": [
                "s3:PutObject",
                "s3:PutObjectAcl"
            ],
            "Resource": "arn:aws:s3:::myclient-grafana-images"
        }
    ]
}

This is assigned to the user with the access key from the grafana.ini file.

Anyone any suggestions where I’m going wrong?

Thanks

Made a couple of changes and got it working now to a degree. I’d missed uncommenting out the provider line that told it use s3.

Also amended the config to add:
bucket =
bucket_url =

Now just battling with the permissions in aws. Created the policy from the guide but also had to apply s3 full access from the AWS managed policy.

Despite having the right permissions in the custom policy it doesn;t work without the s3 full access.

Just need to sort this so the user only has access to the one bucket.