Loading...
Loading...
### Terraform Version ```shell Terraform v1.9.7 on linux_amd64 + provider registry.terraform.io/hashicorp/aws v5.67.0 + provider registry.terraform.io/hashicorp/external v2.3.4 + provider registry.terraform.io/hashicorp/null v3.2.3 ``` ### Terraform Configuration Files N/A ### Debug Output N/A ### Expected Behavior Only output console result on stdout in order to be able to parse output. ### Actual Behavior When warning (or may be other cases) are emitted, they are also printed on stdout: Command: ```shell terraform console <<<'jsonencode(local.test)' ``` Stdout: ``` ╷ │ Warning: Backend configuration ignored │ │ on .terraform/modules/diff_secret/module/default_backend.tf line 3, in terraform: │ 3: backend "s3" { │ │ Any selected backend applies to the entire configuration, so Terraform │ expects provider configurations only in the root module. │ │ This is a warning rather than an error because it's sometimes convenient to │ temporarily call a root module as a child module for testing purposes, but │ this backend configuration block will have no effect. ╵ "foobar" ``` Also tried with `TF_IN_AUTOMATION=true TF_LOG=off` same result. ### Steps to Reproduce 1. `terraform init` 2. `terraform console <<<'jsonencode(local.test)'` ### Additional Context N/A ### References N/A
Click on a version to see all relevant bugs
Terraform Integration
Learn more about where this data comes from
Bug Scrub Advisor
Streamline upgrades with automated vendor bug scrubs
BugZero Enterprise
Wish you caught this bug sooner? Get proactive today.