From the course: DevOps Foundations: Your First Project
Unlock the full course today
Join today to access over 24,700 courses taught by industry experts.
Running your integration test
From the course: DevOps Foundations: Your First Project
Running your integration test
Now that Explore California is in AWS and we have a website URL to test against, and now that we confirmed that that URL works, let's run our integration test. First, let's run that output command again just in case you don't have it. Since this doesn't export any new lines and the result looks a little bit hard to read, let's go ahead and clear our screen. Run that command again, but add an echo to the end of it by adding ":echo", like this. This will make the result a lot cleaner. Now let's run our integration test from earlier to see what happens. As you can see, we get an error. Specifically, we get the error that we configured earlier telling us to set the website URL. So let's use the export command to do that. So I'm going to go ahead and type this command again. And then I'm going to copy this result. Then in this new line here I'm going to add "export website _url" equals that. But before I hit Enter I want to make sure that I have http:// in the beginning of that address…
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
-
-
-
-
-
-
-
-
(Locked)
Deploy with confidence with infrastructure as code3m 45s
-
(Locked)
Finding the version of OpenTofu to use49s
-
(Locked)
Adding OpenTofu to Docker Compose4m 49s
-
(Locked)
AWS deployment explained2m 13s
-
(Locked)
Writing your integration test12m 18s
-
(Locked)
Writing OpenTofu code9m 43s
-
(Locked)
Reviewing the OpenTofu plan3m 24s
-
Applying the OpenTofu plan8m 11s
-
(Locked)
Running your integration test1m 42s
-
(Locked)
Destroying the website from AWS S31m 53s
-
(Locked)
-
-