Skip to content

Commit

Permalink
hashicorp#25994 add expand
Browse files Browse the repository at this point in the history
  • Loading branch information
nick committed Jul 27, 2022
1 parent 3d1aca8 commit f75e58b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion internal/service/guardduty/detector.go
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,9 @@ func expandDataSourceConfigurations(tfMap map[string]interface{}) *guardduty.Dat
if v, ok := tfMap["kubernetes"].([]interface{}); ok && len(v) > 0 {
apiObject.Kubernetes = expandKubernetesConfiguration(v[0].(map[string]interface{}))
}

if v, ok := tfMap["malware_protection"].([]interface{}); ok && len(v) > 0 {
apiObject.MalwareProtection = expandMalwareProtectionConfiguration(v[0].(map[string]interface{}))
}
return apiObject
}

Expand Down

0 comments on commit f75e58b

Please sign in to comment.