Loading...
Loading...
### Terraform Version ```shell 1.6.3 ``` ### Terraform Configuration Files ```terraform data "terraform_remote_state" "this" { backend = "local" config = { path = "/path/to/pre-existing/terraform.tfstate" } } ``` ### Debug Output 2023-11-08T14:34:04.205+0200 [DEBUG] ProviderTransformer: "data.terraform_remote_state.this" (*terraform.NodeValidatableResource) needs provider["terraform.io/builtin/terraform"] **2023-11-08T14:34:04.205+0200 [ERROR] AttachSchemaTransformer: No provider config schema available for provider["terraform.io/builtin/terraform"]** 2023-11-08T14:34:04.210+0200 [DEBUG] ReferenceTransformer: "data.terraform_remote_state.this" references: [] ### Expected Behavior **[ERROR] AttachSchemaTransformer: No provider config schema available for provider["terraform.io/builtin/terraform"]** The above message should: 1. Be clearer. There is a provider - it is just built-in and not explicitly defined. 2. The **[ERROR]** label should be **[DEBUG]**. If it is left as **[ERROR]**, it makes it much more difficult for a log filter to actually differentiate it from real errors. ### Actual Behavior 1. There is a misleading error message. 2. The message is erroneously labelled as **[ERROR]**. ### Steps to Reproduce 1. `export TF_LOG=DEBUG` 2. `terraform init` 3. `terraform plan` ### Additional Context _No response_ ### References _No response_
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.