liveness-detection-framework icon indicating copy to clipboard operation
liveness-detection-framework copied to clipboard

Deploy the AWS CloudFormation Error

Open socloccoc opened this issue 1 year ago • 1 comments

Describe the bug I ran this command to deploy with aws cloudformation

aws cloudformation create-stack --template-body file://global-s3-assets/liveness-detection-framework.template --stack-name liveness --capabilities CAPABILITY_IAM CAPABILITY_NAMED_IAM CAPABILITY_AUTO_EXPAND --parameters ParameterKey=AdminEmail,[email protected] ParameterKey=AdminName,ParameterValue=daidv

Error Bucket cannot have ACLs set with ObjectOwnership's

Screenshots image

socloccoc avatar May 20 '23 09:05 socloccoc

@socloccoc in the file /tmp/packaged-app/packaged.yaml > section LoggingBucket , try it:

` PublicAccessBlockConfiguration: BlockPublicAcls: true BlockPublicPolicy: true IgnorePublicAcls: true RestrictPublicBuckets: true

  ####  replace it with...
  PublicAccessBlockConfiguration:
    BlockPublicAcls: false
  OwnershipControls:
    Rules:
      - ObjectOwnership: ObjectWriter  

`

meirinaldojunior avatar May 23 '23 19:05 meirinaldojunior