From the course: Deploying Your AWS Application to the Cloud with Docker

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Solution: Pulling external resources into CodeBuild

Solution: Pulling external resources into CodeBuild - Amazon Web Services (AWS) Tutorial

From the course: Deploying Your AWS Application to the Cloud with Docker

Start my 1-month free trial

Solution: Pulling external resources into CodeBuild

(upbeat music) - [Narrator] If you have the need to introduce external resources into your build process, let's say a third party java library if you're building a java application, my recommendation and my solution to this challenge is to store that file in a string. So you would type aws s3 copy from yourbucket and then of course file1.jar or whatever the filename maybe for the java library that you're trying to introduce into your build. Keep in mind it doesn't have to be java-specific or any language for that matter. Any file that you need during the build process you can install an s3 and pull it into your build. Keep in mind I'm introducing this command in the pre-build phase so that the files are ready to go by the time you enter the build phase. Now keep in mind we're using s3 here. What that means is code build is now going to require permissions into yourbucket and into s3. Let's take a look at…

Contents