After creating a ne...
 
Notifications
Clear all

After creating a new workspace "PROD" you need to run the command terraform select PROD to switch to it.

1 Posts
1 Users
0 Likes
251 Views
(@katterjohnoctavio)
Posts: 721
Noble Member
Topic starter
 

After creating a new workspace "PROD" you need to run the command terraform select PROD to switch to it.

  • A . False
    B. True

Show Answer Hide Answer

Suggested Answer: A

Explanation:

By default, when you create a new workspace you are automatically switched to it To create a new workspace and switch to it, you can use terraform workspace new <new_workspace_name>; to switch to a existing workspace you can use terraform workspace select <existing_workspace_name>; Example:

$ terraform workspace new example

Created and switched to workspace "example"!

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.
 
Posted : 16/02/2023 5:10 am

Latest TA-002-P V1 Dumps Valid Version

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund
Share: