From the course: DevOps Foundations: Your First Project
Unlock the full course today
Join today to access over 22,400 courses taught by industry experts or purchase this course individually.
Applying the Terraform plan
From the course: DevOps Foundations: Your First Project
Applying the Terraform plan
- [Instructor] Now that we've initialized Terraform, we can go ahead and do a Terraform plan, which is basically a preview of the deployment that Terraform is going to do before it does it. We're going to run Terraform plan. Same way we did init, except instead of init we are going to do plan. And now it's asking us for some information. The way that the AWS provider within Terraform works is that it asks for a few things, it asks for credentials, so an axis key ID, and a secret axis key, as well as the region in which Terraform needs to deploy stuff into. AWS is available all over the world. They have data centers all over the world, and you can think of those collections of data centers as regions, so for example, us-east-1 here would be a region that happens to run in northern Virginia, and all of those data centers are in this region. Within the region they have several different data centers. If AWS just had one per…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
Creating the Terraform Dockerfile8m 58s
-
Building and testing a Terraform Docker image4m 32s
-
Creating a Terraform Docker Compose service1m 50s
-
AWS deployment explained3m 56s
-
Writing Terraform code12m 35s
-
Reviewing the Terraform plan9m 15s
-
Applying the Terraform plan7m 35s
-
Deploying the website into AWS S35m 48s
-
Destroying the website from AWS S36m 1s
-
Writing your integration test5m 55s
-
Running your integration test4m 58s
-
-
-