Difference between revisions of "Terraform workspace list"
Jump to navigation
Jump to search
(9 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{lowercase}} | ||
[[terraform workspace]] list | [[terraform workspace]] list | ||
* default | * default | ||
− | == Related | + | == 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 == | ||
* <code>[[terraform workspace show]]</code> | * <code>[[terraform workspace show]]</code> | ||
+ | * <code>[[terraform workspace new]]</code> | ||
+ | * <code>[[terraform workspace select]]</code> | ||
+ | * <code>[[$HOME/terraform.tfstate.d/your_workspace_name/]]</code> | ||
+ | * <code>[[terraform plan]]</code> | ||
== See also == | == See also == | ||
+ | * {{terraform workspace}} | ||
* {{terraform cmd}} | * {{terraform cmd}} | ||
− | |||
[[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]
terraform workspace show
terraform workspace new
terraform workspace select
$HOME/terraform.tfstate.d/your_workspace_name/
terraform plan
See also[edit]
- Terraform workspaces,
terraform workspace
, [new
|select
|list
|delete
|show
]-help
, Terraform Enterprise (TFE) workspaces terraform
[untaint | fmt
|apply
|show
|state
|init | plan | console | output
|validate
|destroy
|debug
|import
|providers
|get
|graph
|workspaces
|resource
|login
|-var-file
|state mv
|state pull
|state push
|state replace-provider
|state rm
|force-unlock
|env
|tfe
|--version
|remote-exec
|delete on termination
| deprecated commands |terraform --help
]
Advertising: