Difference between revisions of "Terraform show"
Jump to navigation
Jump to search
Line 15: | Line 15: | ||
terraform show | terraform show | ||
(no output) | (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 == | == Changelog == |
Revision as of 12:14, 18 October 2021
terraform init
->terraform plan
->terraform apply
->terraform show
Contents
Examples
terraform show
(output example)- terraform show output example aws_instance
terraform show | grep resource
terraform show | grep public_ip
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
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
[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
]- Terraform, OpenTofu, Terrakube.org, Installation, Terraform AWS, Terraform GCP, Terraform commands, Terraform Cloud, Terraform Enterprise (TFE), HCL, HIL, meta-arguments, providers, modules, resource, provisioners, data sources, backends: remote backends, examples, configuration files, state files, variables, types, Terraform Registry, conditionals:
depends_on
, functions, Blocks, dynamic blocks, errors, Terragrunt, Terraformer, Terratest, Terraform certifications, Terraform map type, Terraform Associate, Terraform: list type,TF_VAR_, TF_LOG
, Terraform provider versioning, Terraform Style Conventions, Required version, Terraform plugin, Terraform Named Values, tags, Changelog,tfsec, tflint
, Operators, Expressions:for, splat
, Debugging, Namespaces, Terraform Landing Zones, CDKTF, Atmos
Advertising: