Difference between revisions of "Terraform show"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
{{lowercase}}
 
{{lowercase}}
* https://www.terraform.io/docs/cli/commands/show.html
+
https://www.terraform.io/docs/cli/commands/show.html
 +
* <code>[[terraform show --help]]</code>
 +
 
 
  {{terraform flow}}
 
  {{terraform flow}}
* <code>[[terraform show --help]]</code>
 
  
 
== Examples ==
 
== Examples ==

Revision as of 14:58, 18 October 2021

https://www.terraform.io/docs/cli/commands/show.html

 terraform init -> terraform plan ->  terraform apply -> terraform show

Examples

terraform show
No state.
terraform show
(no output)

terraform show


╷
│ Error: Module not installed
│
│   on /path_to_file/main.tf line 3:
│    3: module "compute" {
│
│ This module is not yet installed. Run "terraform init" to install all modules required by this configuration.
╵

Changelog

  • terraform show: the JSON plan output now indicates which state values are sensitive. (#28889)

Related terms

See also

Advertising: