Building our vulnerable lab environment with Terraform
The previous sections of this chapter allowed us to have a better understanding of how Terraform works. We worked with relatively simple examples, and it’s about time we worked on a relatively more complete and realistic example! That said, we will now use Terraform to automatically create and configure the vulnerable lab environment we manually prepared in Chapter 2, Preparing Our First Vulnerable Cloud Lab Environment. By utilizing Terraform, we should be able to streamline the process of setting up the vulnerable lab environment that we previously prepared manually.
Note
What happened again in Chapter 2? In Chapter 2, we manually created an empty S3 bucket through the AWS Management Console and configured it for static website hosting. We then modified the access control settings of the bucket to allow authenticated AWS users to list and retrieve objects. To complete the setup, we uploaded sample files to the S3...