setup

in the project

Adding this policy to the bucket

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "PublicReadForAllObjects",
      "Effect": "Allow",
      "Principal": "*",
      "Action": "s3:GetObject",
      "Resource": "arn:aws:s3:::cloud-deploy-test-bucket-01/*"
    }
  ]
}
  • under bucket settings, uncheck the block all public access (checked by default)
  • static website
    • bucket properties enable static website hosting

secret access key 1IKDkEA5NktvpXyzqZHKIRvnvPxnjYJIDMVWxFUU

access key AKIA5FCD6A4FLRWJ6S6K