Skip to content

Commit

Permalink
update errorcheck version
Browse files Browse the repository at this point in the history
  • Loading branch information
cdaniluk committed Aug 17, 2023
1 parent 78ec00a commit de05a3a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -109,15 +109,15 @@ variable "saml_provider_arn" {

module "saml_is_defined" {
source = "rhythmictech/errorcheck/terraform"
version = "~> 3.0"
version = "~> 1.3"

assert = var.saml_metadata_document != null || var.saml_provider_arn != null
error_message = "Must define a value for either `saml_metadata_document` or `saml_provider_arn`."
}

module "saml_not_defined_twice" {
source = "rhythmictech/errorcheck/terraform"
version = "~> 3.0"
version = "~> 1.3"

assert = ! (var.saml_metadata_document != null && var.saml_provider_arn != null)
error_message = "Must not define both `saml_metadata_document` and `saml_provider_arn`."
Expand Down

0 comments on commit de05a3a

Please sign in to comment.