Skip to content
This repository has been archived by the owner on Sep 3, 2024. It is now read-only.

[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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant