We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e664f5b commit 617c369Copy full SHA for 617c369
helper/schema/provider.go
@@ -267,6 +267,11 @@ func (p *Provider) Configure(c *terraform.ResourceConfig) error {
267
return err
268
}
269
270
+ if p.TerraformVersion == "" {
271
+ // Terraform 0.12 introduced this field to the protocol
272
+ // We can therefore assume that if it's unconfigured at this point, it's 0.10 or 0.11
273
+ p.TerraformVersion = "0.11+compatible"
274
+ }
275
meta, err := p.ConfigureFunc(data)
276
if err != nil {
277
0 commit comments