Terraform has a command named terraform workspace. This command is used to create a workspace for any application. You can use the below command to do so.
$ terraform workspace new myworkspace
Created and switched to workspace "myworkspace"!
You're now on a new, empty workspace. Workspaces isolate their state,
so if you run "terraform plan" Terraform will not see any existing state
for this configuration.