Difference between revisions of "Terraform workspace list"

From wikieduonline
Jump to navigation Jump to search
 
(5 intermediate revisions by the same user not shown)
Line 2: Line 2:
 
  [[terraform workspace]] list
 
  [[terraform workspace]] list
 
  * default
 
  * default
 +
 +
== Errors ==
 +
terraform workspace list
 +
 +
│ Error: Terraform Cloud initialization required: please run "[[terraform init]]"
 +
 +
│  Reason: Initial configuration of Terraform Cloud.
 +
 +
│ Changes to the Terraform Cloud configuration block require reinitialization, to discover any changes to the available workspaces.
 +
 +
│ To re-initialize, run:
 +
│  [[terraform init]]
 +
 +
│ Terraform has not yet made changes to your existing configuration or state.
  
 
== Related ==
 
== Related ==
 
* <code>[[terraform workspace show]]</code>
 
* <code>[[terraform workspace show]]</code>
 +
* <code>[[terraform workspace new]]</code>
 
* <code>[[terraform workspace select]]</code>
 
* <code>[[terraform workspace select]]</code>
 
* <code>[[$HOME/terraform.tfstate.d/your_workspace_name/]]</code>
 
* <code>[[$HOME/terraform.tfstate.d/your_workspace_name/]]</code>
 +
* <code>[[terraform plan]]</code>
  
 
== See also ==
 
== See also ==
 
* {{terraform workspace}}
 
* {{terraform workspace}}
 
* {{terraform cmd}}
 
* {{terraform cmd}}
* {{terraform}}
 
  
 
[[Category:Terraform]]
 
[[Category:Terraform]]

Latest revision as of 10:48, 8 March 2024

terraform workspace list
* default

Errors[edit]

terraform workspace list
╷
│ Error: Terraform Cloud initialization required: please run "terraform init"
│
│  Reason: Initial configuration of Terraform Cloud.
│
│ Changes to the Terraform Cloud configuration block require reinitialization, to discover any changes to the available workspaces.
│
│ To re-initialize, run:
│   terraform init
│
│ Terraform has not yet made changes to your existing configuration or state.

Related[edit]

See also[edit]

Advertising: