mirror of https://github.com/hashicorp/terraform
terraform test: return error when provider config is invalid (#38140)
parent
4a7ae44890
commit
ccf00c29ba
@ -0,0 +1,5 @@
|
||||
kind: BUG FIXES
|
||||
body: 'terraform test: return error when provider config is invalid'
|
||||
time: 2026-02-10T16:38:41.601357+01:00
|
||||
custom:
|
||||
Issue: "38084"
|
||||
@ -0,0 +1,3 @@
|
||||
resource "test_resource" "foo" {
|
||||
value = "bar"
|
||||
}
|
||||
@ -0,0 +1,8 @@
|
||||
provider "test" {
|
||||
resource_prefix_aaa = "foo" // this is decoded during the test runtime, and we should
|
||||
// catch that the provider configuration is invalid
|
||||
}
|
||||
|
||||
run "test-1" {
|
||||
command = plan
|
||||
}
|
||||
Loading…
Reference in new issue