Skip to content
This repository has been archived by the owner on Aug 16, 2022. It is now read-only.

Shield protection "resource not found" #915

Closed
shimonp21 opened this issue May 17, 2022 · 0 comments · Fixed by #916
Closed

Shield protection "resource not found" #915

shimonp21 opened this issue May 17, 2022 · 0 comments · Fixed by #916
Labels
bug Something isn't working

Comments

@shimonp21
Copy link
Contributor

Describe the bug

~/projects/cqaws % cloudquery fetch
Anonymous telemetry collection and crash reporting enabled. Run with --no-telemetry to disable, or check docs at https://docs.cloudquery.io/docs/cli/telemetry
Syncing CloudQuery providers [aws@latest]

Initializing CloudQuery Providers...

⌛cq-provider-aws@v0.11.6 downloading...                          45s  100 %

Finished provider initialization...

Checking available provider updates...

✓ sync provider aws to latest successfully.

Finished syncing providers...

Starting provider fetch...

⚠️ cq-provider-aws@latest diagnostics: 3 1m34s   Finished Resources: 161/161

Provider fetch complete.

Fetch Diagnostics:

Resource: shield.protections Type: Resolving Severity: Error
        Summary: failed to resolve table "aws_shield_protections": error at github.com/cloudquery/cq-provider-aws/resources/services/shield.fetchShieldProtections[protections.go:93] operation error Shield: ListProtections, https response error StatusCode: 400, RequestID: edc13161-39ef-4437-ab68-de3d14384604, ResourceNotFoundException: The subscription does not exist.
Resource: shield.protections_groups Type: Resolving Severity: Error
        Summary: failed to resolve table "aws_shield_protection_groups": error at github.com/cloudquery/cq-provider-aws/resources/services/shield.fetchShieldProtectionGroups[protection_groups.go:86] operation error Shield: ListProtectionGroups, https response error StatusCode: 400, RequestID: fa2e99c9-6634-4726-b819-878a2dbac774, ResourceNotFoundException: The subscription does not exist.
Resource: shield.subscriptions Type: Resolving Severity: Error
        Summary: failed to resolve table "aws_shield_subscriptions": error at github.com/cloudquery/cq-provider-aws/resources/services/shield.fetchShieldSubscriptions[subscriptions.go:103] operation error Shield: DescribeSubscription, https response error StatusCode: 400, RequestID: d421ec57-069c-4beb-811d-af41262fef3a, ResourceNotFoundException: The subscription does not exist.

Provider aws fetch summary: ✓ Total Resources fetched: 594       ⚠️ Warnings: 0   ❌ Errors: 3

Expected Behavior

shouldn't happen.

Steps to Reproduce

fetch on cloudquery playground account.

Possible Solution

No response

Provider and CloudQuery version

Version: 0.23.3 provider 0.11.6

Additional Context

No response

@shimonp21 shimonp21 added the bug Something isn't working label May 17, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant