"This configuration does not support Terraform version %s. To proceed, either choose another supported Terraform version or update this version constraint. Version constraints are normally set for good reason, so updating the constraint may lead to other errors or unexpected behavior.",
tfversion.String(),
),
Subject:constraint.DeclRange.Ptr(),
})
default:
diags=diags.Append(&hcl.Diagnostic{
Severity:hcl.DiagError,
Summary:"Unsupported Terraform Core version",
Detail:fmt.Sprintf(
"Module %s (from %s) does not support Terraform version %s. To proceed, either choose another supported Terraform version or update this version constraint. Version constraints are normally set for good reason, so updating the constraint may lead to other errors or unexpected behavior.",