Skip to content

Commit

Permalink
hashicorp#25131: add expand
Browse files Browse the repository at this point in the history
  • Loading branch information
nick committed Jul 17, 2022
1 parent 2f62ef0 commit a8bcc63
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions internal/service/guardduty/organization_configuration.go
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,10 @@ func expandOrganizationDataSourceConfigurations(tfMap map[string]interface{}) *g
apiObject.S3Logs = expandOrganizationS3LogsConfiguration(v[0].(map[string]interface{}))
}

if v, ok := tfMap["kubernetes"].([]interface{}); ok && len(v) > 0 {
apiObject.Kubernetes = expandOrganizationKubernetesConfiguration(v[0].(map[string]interface{}))
}

return apiObject
}

Expand Down

0 comments on commit a8bcc63

Please sign in to comment.