Fix nil pointer in resource_aws_codebuild_project (#11740)

pull/11743/head
Erik Jansson 9 years ago committed by Paul Stack
parent 244992c1be
commit e3e24f4592

@ -588,7 +588,7 @@ func sourceAuthToMap(sourceAuth *codebuild.SourceAuth) map[string]interface{} {
auth := map[string]interface{}{}
auth["type"] = *sourceAuth.Type
if sourceAuth.Type != nil {
if sourceAuth.Resource != nil {
auth["resource"] = *sourceAuth.Resource
}

Loading…
Cancel
Save