You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working on cn-north-1, when given the below simple usages, it will complain the error: Error putting S3 policy: MalformedPolicy: Policy has invalid resource.
Describe the Feature
I am working on
cn-north-1
, when given the below simple usages, it will complain the error:Error putting S3 policy: MalformedPolicy: Policy has invalid resource
.I think the following lines cause the issue, it assumes everyone is in
aws
partition.Expected Behavior
It should work even for aws cn.
Describe Ideal Solution
Might should introduce a variable called
partition
, which default toaws
, can be set toaws-cn
oraws-us-gov
.Alternatives Considered
Couldn't walk around. May be we should create S3 ourself.
Additional Context
N/A
The text was updated successfully, but these errors were encountered: