From c59af510f6163496b86028ea7548357d95fb311b Mon Sep 17 00:00:00 2001 From: Will Marcantel Date: Thu, 3 Mar 2022 15:40:45 -0800 Subject: [PATCH] Add TLSConfigurationMethod to JSONData (#66) Related to grafana/terraform-provider-grafana#404 Co-authored-by: Will Marcantel --- datasource.go | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/datasource.go b/datasource.go index 904df5d9..828dde9c 100644 --- a/datasource.go +++ b/datasource.go @@ -83,10 +83,11 @@ type LokiDerivedField struct { // JSONData is a representation of the datasource `jsonData` property type JSONData struct { // Used by all datasources - TLSAuth bool `json:"tlsAuth,omitempty"` - TLSAuthWithCACert bool `json:"tlsAuthWithCACert,omitempty"` - TLSSkipVerify bool `json:"tlsSkipVerify,omitempty"` - httpHeaderNames []string + TLSAuth bool `json:"tlsAuth,omitempty"` + TLSAuthWithCACert bool `json:"tlsAuthWithCACert,omitempty"` + TLSConfigurationMethod string `json:"tlsConfigurationMethod,omitempty"` + TLSSkipVerify bool `json:"tlsSkipVerify,omitempty"` + httpHeaderNames []string // Used by Athena Catalog string `json:"catalog,omitempty"`