我在 ap-southeast-1 上设置了 AWS Kinesis Firehose(传输流)。Redshift 和 S3 也在 ap-southeast-1 上设置。我使用 Kinesis Firehose 允许 Redshift 显示 S3 存储桶。代码:
COPY firehosetransactions FROM 's3://firehoseredshift-switt/<manifest>' CREDENTIALS 'aws_iam_role=arn:aws:iam::<aws-account-id>:role/<role-name>' MANIFEST json 's3://firehoseredshift/jsonpaths.json';
但是,在 Redshift 中,该区域显示为 ap-southeast-1c。据我了解,它仍在同一区域,但目标错误日志显示“Redshift.IncorrectBucketRegion”。
Redshift attempted to use a bucket in a different region from the cluster. Please specify a bucket within the same region as the cluster. ERROR: Problem reading manifest file - S3ServiceException:The S3 bucket addressed by the query is in a different region from this cluster.,Status 301,Error PermanentRedirect
Detail: ----------------------------------------------- error: Problem reading manifest file - S3ServiceException:The S3 bucket addressed by the query is in a different region from this cluster.,Status 301,Error PermanentRedirect,Rid
有什么建议可以解决这个问题吗?谢谢