IAM Role doesn't work for non-us-east-1 region?

Permalink Browser Info Environment
I've tried the IAM role instead of access key/secret code.
But I've got the following error when I tried to visit File Manager.

I cannot even open File Manager.

Exception Occurred: /var/www/vhosts/XXXXXXX/packages/s3_storage/vendor/aws/aws-sdk-php/src/ClientResolver.php:371 Missing required client configuration options: 
region: (string)
A "region" configuration value is required for the "s3" service
(e.g., "us-west-2"). A list of available public regions and endpoints can be
found at docs.aws.amazon.com/general/latest/gr/rande.html.
version: (string)
A "version" configuration value is required. Specifying a version constraint
ensures that your code will not be affected by a breaking change made to the
service. For example, when using Amazon S3, you can lock your API version to
"2006-03-01".
Your build of the SDK has the following version(s) of "s3": * "2006-03-01"
You may provide "latest" to the "version" configuration value to utilize the
most recent available API version that your client's API provider can find.
Note: Using 'latest' in a production application is not recommended.
A list of available API versions can be found on each client's API documentation


Is it probably because I'm using at ap-northeast-1 (Tokyo) region?

Thanks.

Type: Discussion
Status: In Progress
katz515
View Replies:
Mnkras replied on at Permalink Reply
Mnkras
katz515 replied on at Permalink Reply
katz515
Thx Mnkras!

concrete5 Environment Information

# concrete5 Version
Core Version - 8.4.2
Version Installed - 8.4.2
Database Version - 20180716000000

# concrete5 Packages
S3 Storage (3.0.2)

# concrete5 Overrides
src/Concrete/Session/SessionFactory.php, src/Concrete/Session, src/Concrete/Cache/Page/MemcachedPageCache.php, src/Concrete/Cache/Page, src/Concrete/Cache, src/Concrete

# concrete5 Cache Settings
Block Cache - On
Overrides Cache - On
Full Page Caching - On - If blocks on the particular page allow it.
Full Page Cache Lifetime - Every 6 hours (default setting).

# Server Software
nginx/1.12.1

# Server API
fpm-fcgi

# PHP Version
7.2.8

# PHP Extensions
bz2, calendar, cgi-fcgi, Core, ctype, curl, date, dom, exif, fileinfo, filter, ftp, gd, gettext, hash, iconv, igbinary, intl, json, libxml, mbstring, memcached, mysqli, mysqlnd, openssl, pcre, PDO, pdo_mysql, pdo_sqlite, Phar, posix, Reflection, session, shmop, SimpleXML, sockets, SPL, sqlite3, standard, sysvmsg, sysvsem, sysvshm, tokenizer, wddx, xml, xmlreader, xmlwriter, xsl, Zend OPcache, zip, zlib

# PHP Settings
max_execution_time - 30
log_errors_max_len - 1024
max_file_uploads - 20
max_input_nesting_level - 64
max_input_time - 60
max_input_vars - 1000
memory_limit - 128M
post_max_size - 8M
upload_max_filesize - 32M
memcached.sess_lock_max_wait - not set
memcached.sess_lock_wait_max - 0
memcached.sess_server_failure_limit - 0
mysqli.max_links - Unlimited
mysqli.max_persistent - Unlimited
pcre.backtrack_limit - 1000000
pcre.recursion_limit - 100000
session.cache_limiter - <i>no value</i>
session.gc_maxlifetime - 7200
opcache.max_accelerated_files - 4000
opcache.max_file_size - 0
opcache.max_wasted_percentage - 5

Browser User-Agent String

Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.81 Safari/537.36

Hide Post Content

This will replace the post content with the message: "Content has been removed by an Administrator"

Hide Content

Request Refund

You may not request a refund that is not currently owned by you.