我创建了一个IAM用户并应用了授予AmazonS3FullAccess和AdministratorAccess的角色,但是当我尝试将文件上传到预算时,我得到了:
<?xml version="1.0" encoding="UTF-8"?>
<Error><Code>AccessDenied</Code><Message>Access Denied</Message
<RequestId>58ADCB (truncated...) AccessDenied (client): Access Denied - <?xml version="1.0" encoding="UTF-8"?><Error><Code>AccessDenied</Code>
<Message>Access Denied</Message>
<RequestId>78ADCBDFA4A2F2F1</RequestId>
<HostId>+nMvJhGbk4zKU//uYIMAjNJdjVLIPuQuARwq5c1Dsbd8anrqOCKwsUe/XDVRS3xE5rHVFgrBfsE=</HostId>
</Error>
有AmazonS3FullAccess权限的生成策略:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": "s3:*",
"Resource": "*"
}
]
}
对我来说很明显,上述政策允许我使用我所有的预算,但似乎以某种方式忘记了这一点。