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

Part#1

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.

Part#2

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

Part#3

Destroy all of the resources you have created.

Get hands-on with 1000+ tech skills courses.