Is there a way to provide IAM instance roles for use by the build process?
In my specific case, I need to perform some s3 operations during build (not related to archiving artifacts).
So far, the only alternative I have found is to add the aws key and the secret to the environment variables on the aws codebuild configuration page.
It would be safer to simply attach the IAM role to the ec2 instance or container that is building. Is this currently possible (2016-12)?
amazon-web-services aws-codepipeline aws-codebuild
Daniel Sperry
source share