VPC Clone may fail with error Template Validation Failed

VPC Clone may fail with "Template validation has failed"


VPC Clone may fail with the error  "Template Validation Failed.  Failure reason: S3 error.  The bucket you are attempting to access must be addressed using the specified endpoint.  Please Send all future requests to this endpoint. For more information check. http://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html."



You may also see the following in the output log:
01/04/2020 07:13:22 PM,Info,A template file was uploaded to an S3 bucket. The file will not be removed on completion of the cloning process.
01/04/2020 07:13:22 PM,Error,"S3 error: The bucket you are attempting to access must be addressed using the specified endpoint. Please send all future requests to this endpoint.
For more information check
http://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html"
01/04/2020 07:13:22 PM,Error,Cloning VPC vpc-0222pvw627999x1h9 (your-vpc-name) Failed in creating CloudFormation template.


This error is caused by CPM failing to locate the S3 Bucket in the target region of the VPC clone. CPM succeeds in adding the template to the S3 Bucket in the source region due to AWS API behavior: If the bucket name exists somewhere then the upload will succeed. However, the validation will fail with the error above because the bucket does not exist in the target region.  To avoid this error, make sure you use an S3 bucket in the target region for the VPC clone.