Difference between revisions of "Terraform workspace list"
Jump to navigation
Jump to search
Line 22: | Line 22: | ||
* <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 == |
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: