Merge pull request #6769 from alrs/pkg-dropped-errors

pkg/model: Fix dropped error
This commit is contained in:
Kubernetes Prow Robot 2019-04-15 10:00:23 -07:00 committed by GitHub
commit ca7563d719
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -77,6 +77,9 @@ func (b *IAMModelBuilder) Build(c *fi.ModelBuilderContext) error {
return fmt.Errorf("unable to parse instance profile name from arn %q: %v", profileARN, err)
}
err = b.buildIAMTasks(igRole, iamName, c, true)
if err != nil {
return err
}
}
// Generate IAM tasks for each managed role