data "corefunc_ip_in_cidr" "maybe" {
ip_address = "10.100.32.100"
cidr_range = "172.16.0.0/16"
}
#=> false
data "corefunc_ip_in_cidr" "maybe" {
ip_address = "10.100.32.100"
cidr_range = "172.16.0.0/16"
trigger_error_with_message = "The IP must be within the specified CIDR subnet."
}
#=> ERROR: The IP must be within the specified CIDR subnet.
What functionality would you like to see?