Understanding IAM policies
问题 I recently ran into a problem with IAM policies while using Code-Build. And I am trying to understand the difference between the following 2 policies and check if there are any security implications of using version 2 over version 1. Version 1 doesn't work, so I decided to go with version 2. But why does version 2 work and why doesn't version 1 doesn't work? Version 1 only gives access to the CodePipeline resource and allows to read and write to S3 bucket object. However Version 2 gives