Definition:

  • Used for module input

variable block

  • Used for receiving inputs
  •     variable "<LABEL>" {
        type        = <TYPE>
        default     = <DEFAULT_VALUE>
        description = "<DESCRIPTION>"
        sensitive   = <true|false>
        nullable    = <true|false>
        ephemeral   = <true|false>
      
        validation {
          condition     = <EXPRESSION>
          error_message = "<ERROR_MESSAGE>"
        }
      }