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

Trivy panics on aws_s3_bucket resource with bucket = null #8093

Open
nikpivkin opened this issue Dec 13, 2024 Discussed in #8091 · 1 comment · May be fixed by #8112
Open

Trivy panics on aws_s3_bucket resource with bucket = null #8093

nikpivkin opened this issue Dec 13, 2024 Discussed in #8091 · 1 comment · May be fixed by #8112
Assignees
Labels
kind/bug Categorizes issue or PR as related to a bug. scan/misconfiguration Issues relating to misconfiguration scanning

Comments

@nikpivkin
Copy link
Contributor

Example:

variable "name" {
  type    = string
  default = null
}

resource "aws_s3_bucket" "example" {
  bucket = var.name
}

Discussed in #8091

@nikpivkin nikpivkin added kind/bug Categorizes issue or PR as related to a bug. scan/misconfiguration Issues relating to misconfiguration scanning labels Dec 13, 2024
@nikpivkin nikpivkin self-assigned this Dec 13, 2024
@ricardbejarano
Copy link

I've the same issue

@nikpivkin nikpivkin linked a pull request Dec 17, 2024 that will close this issue
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug. scan/misconfiguration Issues relating to misconfiguration scanning
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants