Terraform is a popular open-source tool for provisioning infrastructure with many providers. In this video, learn how to practice writing Docker Compose services by creating and running a service that runs Terraform commands.
- [Instructor] And the last thing we're going to do … is install it in Docker Compose, which is really easy. … So I'm going to open up my YAML, and I'm going to add … a new service, up here, called Terraform, … and much like our website we need to build the image, … so I'm going to do build and then context, … our current directory, and that's literally it, … really simple, because we're just making this available … in our Docker Compose as a service, … and it doesn't have any other options, so very easy. … I'm going to save that, I'm going to quit, … and I'm going to just verify that this runs … within Compose with docker-compose run. … This is a single one-shot command so I can use run here. … I don't want to save this container, … so --rm and then terraform. … One thing I forgot to do, provide the Dockerfile. … So let's go ahead and do that, here, … with the Dockerfile option. … So the Dockerfile option tells Docker Compose … to use a differently named Dockerfile … because it looks for files called Dockerfile by default. …
- Writing your first Dockerfile
- Using Docker Compose
- Testing your app with RSpec, Capybara, and Selenium
- Writing Terraform code
- Deploying a website into AWS S3
- Writing and running integration tests
- Writing a CI/CD pipeline with Jenkins
Skill Level Beginner
1. The Project/The Mission
Your application, pre-DevOps2m 59s
2. Testing Locally with Docker
3. Testing Your App with RSpec, Capybara, and Selenium
4. Infrastructure as Code with Terraform
5. CI/CD as Code with Jenkins
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.