Difference between revisions of "Terraform show"
Jump to navigation
Jump to search
Line 17: | Line 17: | ||
(no output) | (no output) | ||
− | + | == Examples with errors == | |
− | + | terraform show | |
− | |||
╷ | ╷ | ||
│ [[Error: Module not installed]] | │ [[Error: Module not installed]] |
Revision as of 15:18, 18 October 2021
https://www.terraform.io/docs/cli/commands/show.html
terraform init
->terraform plan
->terraform apply
->terraform show
Examples
terraform show (output example)
(output example)- terraform show output example aws_instance
terrafrom show | grep resource
terraform show | grep public_ip
terraform show No state.
terraform show (no output)
Examples with errors
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
terraform state list
terraform state show aws_instance.MYexample
terraform apply
terraform destroy
Error: Module not installed
See also
terraform show
,terraform show (output example)
,terraform state show module.my compute
terraform show --help
,terraform show (grep resource)
,terraform show my wrong name
,terraform show (grep aws instance)
- Terraform state:
terraform [ state | replace-provider | mv ]
,backend.tf
, Remote state backends to manage Terraform state, State locking,terraform force-unlock
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: