File tree Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Expand file tree Collapse file tree 2 files changed +2
-7
lines changed Original file line number Diff line number Diff line change 1
1
package types
2
2
3
3
import (
4
- "fmt"
5
-
6
4
"github.com/aquasecurity/trivy/pkg/iac/terraform"
5
+ hcty "github.com/hashicorp/go-cty/cty"
7
6
"github.com/hashicorp/hcl/v2"
8
7
"github.com/hashicorp/terraform-plugin-sdk/v2/diag"
9
- "github.com/zclconf/go-cty/cty"
10
- hcty "github.com/hashicorp/go-cty/cty"
11
- hctyjson "github.com/hashicorp/go-cty/cty/json"
12
- ctyjson "github.com/zclconf/go-cty/cty/json"
13
8
14
9
"github.com/coder/terraform-provider-coder/v2/provider"
15
10
)
Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ func (r *ParameterData) Valid() hcl.Diagnostics {
113
113
if diag .HasError () {
114
114
// TODO: We can take the attr path and decorate the error with
115
115
// source information.
116
- return hclDiagnostics (diag , source )
116
+ return hclDiagnostics (diag , r . Source )
117
117
}
118
118
return nil
119
119
}
You can’t perform that action at this time.
0 commit comments