Solution Review: Create a Project That is Aware of the Workspace

In this lesson, we'll discuss the solution to the Terraform project we discussed in the last lesson.

Problem statement


Create a project that is aware of the workspace. The project creates an sqs queue and s3 bucket and uses the workspace name in the name of the sqs queue and s3 bucket. Apply your project to a workspace called dev and a workspace called prod.


Remove the sqs queue and apply it to both workspaces so that the queue is removed.


Destroy all of the resources you have created.

Get hands-on with 1000+ tech skills courses.