Issue #, if available:
Resource" arn in "ReplicationPolicy" was incorrect and leading to errors while replicating objects to cross account bucket for centralized logging.
Description of changes:
Changed "Resource" arn in "ReplicationPolicy" for "ReplicationRole" to "arn:${AWS::Partition}:s3:::${DestinationBucketPrefix}${SendDataToAccountID}-security-hub/${CFDataName}/*"
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.
Issue #, if available: Resource" arn in "ReplicationPolicy" was incorrect and leading to errors while replicating objects to cross account bucket for centralized logging.
Description of changes: Changed "Resource" arn in "ReplicationPolicy" for "ReplicationRole" to "arn:${AWS::Partition}:s3:::${DestinationBucketPrefix}${SendDataToAccountID}-security-hub/${CFDataName}/*"
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.