How can I avoid the AWS stack drift false positive on s3 bucket ObjectOwnership?

Viewed 124

When I deploy an s3 bucket with ObjectOwnership: BucketOwnerPreferred the stack drift reports a false positive:

Property: OwnershipControls Change: REMOVE Expected Value: {"Rules":[{"ObjectOwnership":"BucketOwnerPreferred"}]} Actual Value: -

But S3 reports the ownership is indeed BucketOwnerPreferred.

0 Answers
Related