Defining DISCOURSE_S3_CDN_URL links to assets in S3 CDN URL

thanks for help

Maybe you’ll know where the mistake I described here Migrating uploads to S3 for 'default'... rake aborted! comes from ??

NameError: uninitialized constant FileStore::ToS3Migration::Aws

What am I supposed to do with this? Edit files this way and then rebuild app ? I don’t understand.