1 Answers
0
Hi,
Hope this template helps. Pre-requisite is to have at least two buckets in different regions created already so as to reference those bucket names in the CF template
{
"AWSTemplateFormatVersion": "2010-09-09",
"Resources": {
"MyMRAP": {
"Type" : "AWS::S3::MultiRegionAccessPoint",
"Properties" : {
"PublicAccessBlockConfiguration" : {
"BlockPublicAcls" : "True",
"BlockPublicPolicy" : "True",
"IgnorePublicAcls" : "True",
"RestrictPublicBuckets" : "True"
},
"Regions" : [ {"Bucket":"bucket1"}, {"Bucket": "bucket2"} ]
}
}
}
}
Replace the bucket1/bucket2 in above code with the actual bucket names. I was able to successfully create Multi region Access point with the above code
--Syd
answered 2 months ago
Relevant questions
Object lambda access point policy, policy document malformed
asked 2 months agoHow to use the Multi Region Access Point in AWS S3 using the hostname?
Accepted Answerasked 7 months agoTemplate format error: Unrecognized resource types: [AWS::SES::Template] bug or expected behaviour?
Accepted Answerasked 7 months agoHow to download S3 file through Multi-Region Access Point (MRAP) using the AWS CLI?
asked 4 months agoRequired Capabilities Cloudformation Template
Accepted Answerasked 4 months agoHow to append timestamp to s3 bucket name in suffix using cloudformation template?
asked a month agoHow to define IAM::Policy in SAM template
asked a year agoIs there any other way to use AWS multi region access point other than cross region replication?
asked 2 months agoHow to declare multi region access point in cloudformation template
asked 2 months agoCan AWS CloudFormation template access s3 from any region other than its current region?
asked 2 months ago
Could you please edit your question and add a code snippet showing a part of your CloudFormation template where you define the resource and reference it? Without looking at the template, it is hard to tell what exactly might cause the error. Thank you!