AWS S3 Provider - Not Working

@dmurphy779
plugin is word for word:

plugin.js:

module.exports = ({ env }) => ({
  // ...
  upload: {
    config: {
      provider: 'aws-s3',
      providerOptions: {
        accessKeyId: env('AWS_ACCESS_KEY_ID'),
        secretAccessKey: env('AWS_ACCESS_SECRET'),
        region: env('AWS_REGION'),
        params: {
          Bucket: env('AWS_BUCKET'),
        },
      },
    },
  },
  // ...
});

middleware is as well (replaced bucketname and region already):

module.exports = [
  // ...
  {
    name: 'strapi::security',
    config: {
      contentSecurityPolicy: {
        useDefaults: true,
        directives: {
          'connect-src': ["'self'", 'https:'],
          'img-src': ["'self'", 'data:', 'blob:', 'yourBucketName.s3.yourRegion.amazonaws.com'],
          'media-src': ["'self'", 'data:', 'blob:', 'yourBucketName.s3.yourRegion.amazonaws.com'],
          upgradeInsecureRequests: null,
        },
      },
    },
  },
  // ...
];

I can’t get it to work on local either. I even tried switch to cloudinary. I did fresh install of strapi and the plugins and couldn’t get it to work.

As far as heroku’s env stuff yeah I also defined them there as I was familiar with how that works from prior projects.

I’d be curious if you’re able to get this to work on a fresh install of strapi.