Enum terraform_version::Operator
source · pub enum Operator {
Exact,
Different,
Greater,
GreaterEq,
Less,
LessEq,
RightMost,
}Variants§
Exact
operator = (or no operator) : Allows only one exact version number. Cannot be combined with other conditions.
Different
operator != : Excludes an exact version number.
Greater
operator > : Comparisons against a specified version, allowing versions for which the comparison is true. “Greater” requests newer versions.
GreaterEq
operator >= : Comparisons against a specified version, allowing versions for which the comparison is true.
Less
operator < : Comparisons against a specified version, allowing versions for which the comparison is true. “Less” requests older versions.
LessEq
operator <= : Comparisons against a specified version, allowing versions for which the comparison is true.
RightMost
operator ~> : Allows only the rightmost version component to increment. For example, to allow new patch releases within a specific minor release, use the full version number: ~> 1.0.4 will allow installation of 1.0.5 and 1.0.10 but not 1.1.0.