Resources are the basic building blocks of Terraform code. Explore the base syntax for Terraform resources.
- [Instructor] In this lesson we're going to look … a bit deeper at Terraform code. … Resources are the building blocks of Terraform code. … They define the what of your infrastructure, … and Terraform figures out the how. … All resources share the same syntax. … Unfortunately, every provider has different resource types … and slightly different options. … We're going to focus just on Amazon AWS … so that we can go a bit deeper. … It should be similar on other platforms … like Microsoft Azure, … but you'll need to review the documentation … if that's the platform you want to use. … Let's start with the code we've already used. … At the top here we've got our provider definition. … A provider isn't a resource. … It's what gives you access to resources. … So the AWS provider … provides a set of possible resources to define. … You need to have a provider defined in your code … so that Terraform knows where the resources should go. … The resource we have defined is an S3 bucket, … which I've chose because it's pretty simple. …
- 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.