Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Several SDK Services - Credential Scope Issues #114

Closed
tomvachon opened this issue Mar 6, 2018 · 7 comments · Fixed by #149
Closed

Several SDK Services - Credential Scope Issues #114

tomvachon opened this issue Mar 6, 2018 · 7 comments · Fixed by #149
Labels
kind/bug Something isn't working

Comments

@tomvachon
Copy link
Contributor

I'm unable to add cleanup for the autoscalingplans API

ERRO[0003] Listing with resources.ResourceLister failed. Please report this to https://github.com/rebuy-de/aws-nuke/issues/new.
!!! InvalidSignatureException: Credential should be scoped to correct service: 'autoscaling-plans'.
!!! status code: 400, request id: 5dbf75f6-217c-11e8-8a21-5b29c4644711
ERRO[0003] Listing with resources.ResourceLister failed. Please report this to https://github.com/rebuy-de/aws-nuke/issues/new.
!!! InvalidSignatureException: Credential should be scoped to correct service: 'autoscaling-plans'.
!!! status code: 400, request id: 5dda299d-217c-11e8-a778-f18a042972d7
ERRO[0003] Listing with resources.ResourceLister failed. Please report this to https://github.com/rebuy-de/aws-nuke/issues/new.
!!! InvalidSignatureException: Credential should be scoped to correct service: 'autoscaling-plans'.
!!! status code: 400, request id: 5e0f437a-217c-11e8-9aff-8bbaa412de1c
Scan complete: 0 total, 0 nukeable, 0 filtered.

My code is here if you see something: https://github.com/tomvachon/aws-nuke/blob/feature/autoscalingplans/resources/autoscalingplans-scalingplans.go

@svenwltr
Copy link
Member

svenwltr commented Mar 7, 2018

This looks like a bug in the AWS SDK, since we are not touching anything signature related. It is all done by the SDK.

It looks like something like this: aws/aws-sdk-go#1009, but this one is already merged. It will take some time to figure out what is wrong here.

@tomvachon
Copy link
Contributor Author

mobile does too..

ERRO[0002] Listing with resources.ResourceLister failed. Please report this to https://github.com/rebuy-de/aws-nuke/issues/new.
!!! InvalidSignatureException: Credential should be scoped to correct service: 'AWSMobileHubService'.
!!! status code: 403, request id: fbf0ff1d-2216-11e8-8184-b1af4e143a3a

@tomvachon tomvachon changed the title AutoScaling Plans Has Credential Scope Issues Several SDK Services Credential Scope Issues Mar 7, 2018
@tomvachon tomvachon changed the title Several SDK Services Credential Scope Issues Several SDK Services - Credential Scope Issues Mar 7, 2018
@tomvachon
Copy link
Contributor Author

MediaStoreData is broken too

@svenwltr
Copy link
Member

This is a hard one. Maybe a SDK update resolves the issues: #149.

@tomvachon
Copy link
Contributor Author

@svenwltr looks like MediaStoreData is a bug. I opened a Enterprise Support ticket and they are working with the service team now

@tomvachon
Copy link
Contributor Author

@svenwltr confirmed, they have a bunch of bugs: aws/aws-sdk-go#1850

That workaround should be ok and should be non-breaking to keep when they fix them too

@tomvachon
Copy link
Contributor Author

I'm going to close this out, there isnt anything we can do

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants