Project: Create a Project That is Aware of the Workspace

In this lesson, we will try to implement a Terraform project that is aware of the workspace.

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 1400+ tech skills courses.