Learn about how to split some of the code out into a module.
(upbeat music) … - [Instructor] I'm going to imagine that … this move to modularize our code is actually connected … to some company-wide initiative to add QA and staging. … So I'm going to pick out what I think we would consider … the core application stack, the part that we'd … want to be repeated in each environment. … First, I'm just going to scan through the code … and kind of make note of things I feel like … would belong more in kind of a base environment … and those that belong in that stack. … So first of all, the whitelist. … I think I want my whitelist to be a little more global, … but that's just sort of the whitelist … for any of the apps, and employees can get to … QA staging or prod from home, say, … if they're in that whitelist. … Now, the rest of these variables, I think, … actually should belong in the app, … 'cause they're specific to that sort of web bit. … The provider, of course, … we want to keep in the base environment. … We don't need to have different … provider settings for each module. …
- Setting up Terraform
- How Terraform works
- Core Terraform commands
- Leveraging style conventions to keep code readable
- Configuring security groups
- Adding load balancers
- Using variables in your code
Skill Level Beginner
1. First Steps with Terraform
2. Terraform in Action
3. Infrastructure as Code
4. Advanced Topics
Next steps3m 31s
- 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.