terraform show
(Redirected from Tf show)
Jump to navigation
Jump to search
terraform show command provides human-readable output from a state or plan file.
terraform init->terraform plan->terraform apply->terraform show
Examples[edit]
terraform show(output example)terraform show | egrep -w "^resource |^data " | grep -v "#"terraform show | grep -w resourceterraform show | grep #terraform show | grep -w data | grep -v "#"terraform show | egrep -w "instance_state|public_ip"terraform show | grep -w public_ipterraform show | grep -w Nameterraform show | grep instance_typeterraform show | grep instance_state- terraform show | grep -w endpoint
- Terraform show output example aws_instance
terraform show | grep .rds.amazonaws.com terraform show | grep -w endpoint
terraform show No state.
terraform show (no output)
terragrunt show
Examples with errors[edit]
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. ╵
│ Error: Backend initialization required, please run "terraform init"
Error: failed to read the give file as a state or plan file
Error: Invalid or missing required argument
Changelog[edit]
terraform show: the JSON plan output now indicates which state values are sensitive. (#28889)
Related terms[edit]
terraform state listterraform state pullterraform state showterraform state show aws_instance.MYexampleterraform apply -replace
terraform destroyterraform outputterraform plan -refresh-onlyterragrunt show- terraform workspace show
- helm show all
Errors[edit]
See also[edit]
terraform show,terraform show (output example),terraform state show module.my computeterraform 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.tfstate, .terraform/terraform.tfstate
Advertising: