I have an issue where every time I want to use AWS CodeDeploy, I have to go to S3 and manually make the revision file public since CodeBuild creates an artifact that isn't public.
Is there a way to make CodeBuild create a public artifact in S3? Or is there a way to deploy a non-public artifact using CodeDeploy?
I tried to run some aws s3api commands in post_build phase but they seemed to fail with exit code 255.


