From 7f224fc53ceaed280c9f7e276e0dd67a398bb175 Mon Sep 17 00:00:00 2001 From: Mike Perry Date: Thu, 4 Nov 2021 16:30:57 -0400 Subject: [PATCH] fix initialization of serviceData in internal/conns --- internal/conns/conns.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/internal/conns/conns.go b/internal/conns/conns.go index 024b416ad03..7784360c070 100644 --- a/internal/conns/conns.go +++ b/internal/conns/conns.go @@ -577,7 +577,7 @@ type ServiceDatum struct { var serviceData map[string]*ServiceDatum func init() { - serviceData := make(map[string]*ServiceDatum) + serviceData = make(map[string]*ServiceDatum) serviceData[AccessAnalyzer] = &ServiceDatum{AWSClientName: "AccessAnalyzer", AWSServiceName: accessanalyzer.ServiceName, AWSEndpointsID: accessanalyzer.EndpointsID, AWSServiceID: accessanalyzer.ServiceID, ProviderNameUpper: "AccessAnalyzer", HCLKeys: []string{"accessanalyzer"}} serviceData[ACM] = &ServiceDatum{AWSClientName: "ACM", AWSServiceName: acm.ServiceName, AWSEndpointsID: acm.EndpointsID, AWSServiceID: acm.ServiceID, ProviderNameUpper: "ACM", HCLKeys: []string{"acm"}}