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

[BUG] nullable TF variable causes warning to be logged #388

Open
szesch opened this issue Feb 9, 2023 · 0 comments
Open

[BUG] nullable TF variable causes warning to be logged #388

szesch opened this issue Feb 9, 2023 · 0 comments

Comments

@szesch
Copy link
Contributor

szesch commented Feb 9, 2023

Describe the bug
A warning is logged when a TF variable is encountered with nullable set. nullable is a legitimate argument for a variable. https://developer.hashicorp.com/terraform/language/values/variables#disallowing-null-input-values

Unsupported argument; An argument named "nullable" is not expected here

How you're running Regula

  • I'm using Regula v3.0.0 as a CLI tool and my Terraform source code as an input:
regula run -f table -v

Operating System

Ubuntu 22.04

IaC Configuration

variable "foobar" {
  type        = string
  default     = null
  nullable    = true
}
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

1 participant