Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixed Dockerfile to prevent
Post https://iam.amazonaws.com/: x509: failed to load system roots and no roots provided
error.Fixed pagination usage in
listAttachedPolicies
andlistInlinePolicies
functions.Before this fix I got following error while executing
kubectl describe iamrole test-iam-role
:`
...
trimmed
...
Events:
Type Reason Age From Message
Warning ErrorSyncingIAMRole 53m iamrole ValidationError: Invalid Marker.
status code: 400, request id: 5137xxxx-xxxx-11e8-9cb9-29c73f9fxxxx
Warning ErrorSyncingIAMRole 36m iamrole ValidationError: Invalid Marker.
status code: 400, request id: a566xxxx-xxxx-11e8-aaa7-81a45b09xxxx
Warning ErrorSyncingIAMRole 19m iamrole ValidationError: Invalid Marker.
status code: 400, request id: f997xxxx-xxxx-11e98-9ff9-39d852a2xxxx
Warning ErrorSyncingIAMRole 3m9s iamrole ValidationError: Invalid Marker.
status code: 400, request id: 4dc3xxxx-xxxx-11e8-a2e2-f93b9026xxxx`