diff --git a/VERSION b/VERSION index 0d15162..9ad3f36 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -0.1.0-rc.3 +0.1.0-rc.4 diff --git a/ci/template-test/main.tf b/ci/template-test/main.tf index ebe1dc0..f683194 100644 --- a/ci/template-test/main.tf +++ b/ci/template-test/main.tf @@ -67,7 +67,7 @@ module "testrdp2" { msg_vpn_name = "default" queue_name = solacebroker_msg_vpn_queue.myqueue.queue_name - url = "http://[2001:db8:3333:4444:5555:6666:7777:8888]:12345/$${msgId()}" + url = "HTTP://[2001:db8:3333:4444:5555:6666:7777:8888]:12345/$${msgId()}" rest_delivery_point_name = "my_rdp2" request_headers = module.testrdp.request_headers protected_request_headers = module.testrdp.protected_request_headers diff --git a/internal/gen-template/variables.tf b/internal/gen-template/variables.tf index 084e84b..7fe8ae2 100644 --- a/internal/gen-template/variables.tf +++ b/internal/gen-template/variables.tf @@ -11,7 +11,7 @@ variable "url" { description = "The URL that the messages should be delivered to. The path portion of the URL may contain substitution expressions" type = string validation { - condition = can(regex("https?://.*", var.url)) + condition = can(regex("https?://.*", lower(var.url))) error_message = "The URL must be a valid URL" } } diff --git a/variables.tf b/variables.tf index 8476811..8b88d93 100644 --- a/variables.tf +++ b/variables.tf @@ -25,7 +25,7 @@ variable "url" { description = "The URL that the messages should be delivered to. The path portion of the URL may contain substitution expressions" type = string validation { - condition = can(regex("https?://.*", var.url)) + condition = can(regex("https?://.*", lower(var.url))) error_message = "The URL must be a valid URL" } }