diff --git a/providers/aws/resources/aws_config.go b/providers/aws/resources/aws_config.go index d9d12852e1..ec954ab890 100644 --- a/providers/aws/resources/aws_config.go +++ b/providers/aws/resources/aws_config.go @@ -75,7 +75,7 @@ func (a *mqlAwsConfig) getRecorders(conn *connection.AwsConnection) []*jobpool.J } resourceTypesInterface := make([]interface{}, len(r.RecordingGroup.ResourceTypes)) for i, resourceType := range r.RecordingGroup.ResourceTypes { - resourceTypesInterface[i] = resourceType + resourceTypesInterface[i] = string(resourceType) } mqlRecorder, err := CreateResource(a.MqlRuntime, "aws.config.recorder", map[string]*llx.RawData{