Error occurred during operation 'AWS::BCMDataExports::Export. e.toString(): when creating Data Exports

Greetings,

I am running into an error when creating Data Exports ( Data Exports - Cloud Intelligence Dashboards on AWS ) in a Payer account. The error is vexing because I have installed this before without issue - my best guess at the moment is that the error is due to the fact that the cid-accountnumber-data-local bucket validation steps are performed before the bucket is created.

I have manually deleted and re-created the data-local bucket, but am working to figure out why it’s not being created via the script.

Full error here:

Status: CREATE_FAILED

Status reason:

Resource handler returned message: "Error occurred during operation 'AWS::BCMDataExports::Export. e.toString(): software.amazon.awssdk.services.bcmdataexports.model.ValidationException: S3 bucket permission validation failed (Service: BcmDataExports, Status Code: 400, Request ID:

Please chime in if you have run into this particular error in the past. Thank you!

Hi @jkrewquicksight

Thank you for reaching out! This appears to be related to an S3 bucket permission validation issue.

When the AWS::BCMDataExports::Export resource is created, the BCM Data Exports API performs a synchronous validation check to confirm:

  1. The S3 bucket exists.
  2. The bucket policy grants bcm-data-exports.amazonaws.com permission to perform s3:PutObject.

If either of these conditions is not met at the time the export resource is being created, the stack will fail with the S3 bucket permission validation failed error.

Please refer to the following documentations, which might be help for you.

Thanks for the feedback. I figured out the issue: I was attempting to deploy a newer data exports in the Payer account than the version in the Data Collection account.