I’m deploying my dockerized Django app using AWS Code Pipeline but facing some errors of Docker. error: docker-compose-deploy.yml buildspec.yml Answer Docker Hub limits the number of Docker image downloads (“pulls”) based on the account type of the user pulling the image. Pull rates limits are based on …
Tag: aws-codebuild
How to attach a managed policy to a an IAM role using the CDK
I’m try to create a service role for AWS CodeBuild. I can create a role like this: Now I need to attach the Amazon-provided AWSCodeBuildAdminAccess policy to the role. How can I do this using the CDK? Answer You can get access to the policy like this: And attach it to your role like this: