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

aws_rds_cluster_endpoint - SIGSEGV: segmentation violation #128

Open
ranimufid opened this issue Jul 22, 2021 · 1 comment
Open

aws_rds_cluster_endpoint - SIGSEGV: segmentation violation #128

ranimufid opened this issue Jul 22, 2021 · 1 comment

Comments

@ranimufid
Copy link

ranimufid commented Jul 22, 2021

awsweeper version: v0.11.0

My awsweeper filter.yml contains this block

aws_rds_cluster_endpoint:
  - tags:
      NOT(owner): .*
  - created:
      before: 1M

Which is currently triggering the following stack trace

panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x52246a0]

goroutine 1 [running]:
github.com/jckuester/awsls/aws.ListRdsClusterEndpoint(0xc000e926b0, 0x6e95242, 0x18, 0x1, 0x1, 0x0)
	/home/runner/go/pkg/mod/github.com/jckuester/[email protected]/aws/aws_rds_cluster_endpoint.go:24 +0x160
github.com/jckuester/awsls/aws.ListResourcesByType(0xc000e926b0, 0xc0001465e0, 0x18, 0x18, 0xbe55560, 0x0, 0x0, 0x0)
	/home/runner/go/pkg/mod/github.com/jckuester/[email protected]/aws/list.go:372 +0x68ad
github.com/jckuester/awsweeper/pkg/resource.List(0xc00061e190, 0xc0003d8240, 0xc000453740, 0x6e3a3dd, 0x6, 0x6e4c680, 0xc, 0x6fc23ac00)
	/home/runner/work/awsweeper/awsweeper/pkg/resource/list.go:66 +0xb70
main.mainExitCode(0x0)
	/home/runner/work/awsweeper/awsweeper/main.go:156 +0xf6d
main.main()
	/home/runner/work/awsweeper/awsweeper/main.go:22 +0x25
@marcelocrocha
Copy link

I'm facing the exactly same issue. For now I simply removed aws_rds_cluster_endpoint from my filters file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants