diff --git a/templates/apply.yml b/templates/apply.yml
index ed26796a32845ab5d1fe53dc2ccc4e29edff18fa..90adf3961d02cb5c52f4f129422dbe3d34455aeb 100644
--- a/templates/apply.yml
+++ b/templates/apply.yml
@@ -60,7 +60,10 @@ spec:
 
     image_digest:
       default: ''
-      regex: '^(@sha256:[a-z0-9]{64})?$'
+      # FIXME: we cannot use regex yet because of a bug that rejects
+      # empty strings from ever being checked against the regex.
+      # see https://gitlab.com/gitlab-org/gitlab/-/issues/477707
+      # regex: '^(@sha256:[a-z0-9]{64})?$'
       description: 'Image digest of the image you want to use. The format must be `@<image_digest>`, e.g. `@sha256:abc..`, see regex of this input. Please consult the release page at https://gitlab.com/components/opentofu/-/releases to obtain the image digests.'
 
     # Configuration
diff --git a/templates/custom-command.yml b/templates/custom-command.yml
index 16ce8d58c4e29cc89a90c52ab5417d4ae8809b78..3fc702287b445b5edfd40cdaa39ae3474ff42427 100644
--- a/templates/custom-command.yml
+++ b/templates/custom-command.yml
@@ -60,7 +60,10 @@ spec:
 
     image_digest:
       default: ''
-      regex: '^(@sha256:[a-z0-9]{64})?$'
+      # FIXME: we cannot use regex yet because of a bug that rejects
+      # empty strings from ever being checked against the regex.
+      # see https://gitlab.com/gitlab-org/gitlab/-/issues/477707
+      # regex: '^(@sha256:[a-z0-9]{64})?$'
       description: 'Image digest of the image you want to use. The format must be `@<image_digest>`, e.g. `@sha256:abc..`, see regex of this input. Please consult the release page at https://gitlab.com/components/opentofu/-/releases to obtain the image digests.'
 
     # Configuration
diff --git a/templates/destroy.yml b/templates/destroy.yml
index d91c49073c0a74c360e86ae8427a0fc5ae19a12c..9975044db5f8bd2d18efc5561f86fa7b41948308 100644
--- a/templates/destroy.yml
+++ b/templates/destroy.yml
@@ -60,7 +60,10 @@ spec:
 
     image_digest:
       default: ''
-      regex: '^(@sha256:[a-z0-9]{64})?$'
+      # FIXME: we cannot use regex yet because of a bug that rejects
+      # empty strings from ever being checked against the regex.
+      # see https://gitlab.com/gitlab-org/gitlab/-/issues/477707
+      # regex: '^(@sha256:[a-z0-9]{64})?$'
       description: 'Image digest of the image you want to use. The format must be `@<image_digest>`, e.g. `@sha256:abc..`, see regex of this input. Please consult the release page at https://gitlab.com/components/opentofu/-/releases to obtain the image digests.'
 
     # Configuration
diff --git a/templates/fmt.yml b/templates/fmt.yml
index c9ca935dea165021019facaa735e7f460b615e20..b732794edcb18a5a50f1aa482098690fa33ed6f1 100644
--- a/templates/fmt.yml
+++ b/templates/fmt.yml
@@ -60,7 +60,10 @@ spec:
 
     image_digest:
       default: ''
-      regex: '^(@sha256:[a-z0-9]{64})?$'
+      # FIXME: we cannot use regex yet because of a bug that rejects
+      # empty strings from ever being checked against the regex.
+      # see https://gitlab.com/gitlab-org/gitlab/-/issues/477707
+      # regex: '^(@sha256:[a-z0-9]{64})?$'
       description: 'Image digest of the image you want to use. The format must be `@<image_digest>`, e.g. `@sha256:abc..`, see regex of this input. Please consult the release page at https://gitlab.com/components/opentofu/-/releases to obtain the image digests.'
 
     # Configuration
diff --git a/templates/full-pipeline.yml b/templates/full-pipeline.yml
index 4261b77ed0191971a0d14e53a1e6919a9aacaaef..265d27e0ad332fd0975fc2da77ada34cdee684e8 100644
--- a/templates/full-pipeline.yml
+++ b/templates/full-pipeline.yml
@@ -69,7 +69,10 @@ spec:
 
     image_digest:
       default: ''
-      regex: '^(@sha256:[a-z0-9]{64})?$'
+      # FIXME: we cannot use regex yet because of a bug that rejects
+      # empty strings from ever being checked against the regex.
+      # see https://gitlab.com/gitlab-org/gitlab/-/issues/477707
+      # regex: '^(@sha256:[a-z0-9]{64})?$'
       description: 'Image digest of the image you want to use. The format must be `@<image_digest>`, e.g. `@sha256:abc..`, see regex of this input. Please consult the release page at https://gitlab.com/components/opentofu/-/releases to obtain the image digests.'
 
     # Configuration
diff --git a/templates/graph.yml b/templates/graph.yml
index 3ec38af9e15f7df7a552b212c11bc9eceb820c06..7a0a0d0796b80469e3b693c9ab3edcfe08f2f8ec 100644
--- a/templates/graph.yml
+++ b/templates/graph.yml
@@ -60,7 +60,10 @@ spec:
 
     image_digest:
       default: ''
-      regex: '^(@sha256:[a-z0-9]{64})?$'
+      # FIXME: we cannot use regex yet because of a bug that rejects
+      # empty strings from ever being checked against the regex.
+      # see https://gitlab.com/gitlab-org/gitlab/-/issues/477707
+      # regex: '^(@sha256:[a-z0-9]{64})?$'
       description: 'Image digest of the image you want to use. The format must be `@<image_digest>`, e.g. `@sha256:abc..`, see regex of this input. Please consult the release page at https://gitlab.com/components/opentofu/-/releases to obtain the image digests.'
 
     # Configuration
diff --git a/templates/job-templates.yml b/templates/job-templates.yml
index 8767a31e0af3b595cd5c2d6062ed129f2901daaa..448d0ad68ac9f3fe699f2e2988892125f4dd4b2c 100644
--- a/templates/job-templates.yml
+++ b/templates/job-templates.yml
@@ -69,7 +69,10 @@ spec:
 
     image_digest:
       default: ''
-      regex: '^(@sha256:[a-z0-9]{64})?$'
+      # FIXME: we cannot use regex yet because of a bug that rejects
+      # empty strings from ever being checked against the regex.
+      # see https://gitlab.com/gitlab-org/gitlab/-/issues/477707
+      # regex: '^(@sha256:[a-z0-9]{64})?$'
       description: 'Image digest of the image you want to use. The format must be `@<image_digest>`, e.g. `@sha256:abc..`, see regex of this input. Please consult the release page at https://gitlab.com/components/opentofu/-/releases to obtain the image digests.'
 
     # Configuration
diff --git a/templates/plan.yml b/templates/plan.yml
index 3fd49ecac0f3aa403aafeb4e7548939b83bb43a6..cf6e7892bea2aaf054975582c78bfcae871c30aa 100644
--- a/templates/plan.yml
+++ b/templates/plan.yml
@@ -60,7 +60,10 @@ spec:
 
     image_digest:
       default: ''
-      regex: '^(@sha256:[a-z0-9]{64})?$'
+      # FIXME: we cannot use regex yet because of a bug that rejects
+      # empty strings from ever being checked against the regex.
+      # see https://gitlab.com/gitlab-org/gitlab/-/issues/477707
+      # regex: '^(@sha256:[a-z0-9]{64})?$'
       description: 'Image digest of the image you want to use. The format must be `@<image_digest>`, e.g. `@sha256:abc..`, see regex of this input. Please consult the release page at https://gitlab.com/components/opentofu/-/releases to obtain the image digests.'
 
     # Configuration
diff --git a/templates/test.yml b/templates/test.yml
index f11343fc24afdbb1bb251984e0c0eb07a4c3c1f3..2f4894b54965c782149b60d32adacbcd22de5dc0 100644
--- a/templates/test.yml
+++ b/templates/test.yml
@@ -60,7 +60,10 @@ spec:
 
     image_digest:
       default: ''
-      regex: '^(@sha256:[a-z0-9]{64})?$'
+      # FIXME: we cannot use regex yet because of a bug that rejects
+      # empty strings from ever being checked against the regex.
+      # see https://gitlab.com/gitlab-org/gitlab/-/issues/477707
+      # regex: '^(@sha256:[a-z0-9]{64})?$'
       description: 'Image digest of the image you want to use. The format must be `@<image_digest>`, e.g. `@sha256:abc..`, see regex of this input. Please consult the release page at https://gitlab.com/components/opentofu/-/releases to obtain the image digests.'
 
     # Configuration
diff --git a/templates/validate-plan-apply.yml b/templates/validate-plan-apply.yml
index 75d7a43673e8877c32203b98133d366bd76d39a8..04fdb4d0a3a85abe9f010bc81409ce4b7d32c50d 100644
--- a/templates/validate-plan-apply.yml
+++ b/templates/validate-plan-apply.yml
@@ -63,7 +63,10 @@ spec:
 
     image_digest:
       default: ''
-      regex: '^(@sha256:[a-z0-9]{64})?$'
+      # FIXME: we cannot use regex yet because of a bug that rejects
+      # empty strings from ever being checked against the regex.
+      # see https://gitlab.com/gitlab-org/gitlab/-/issues/477707
+      # regex: '^(@sha256:[a-z0-9]{64})?$'
       description: 'Image digest of the image you want to use. The format must be `@<image_digest>`, e.g. `@sha256:abc..`, see regex of this input. Please consult the release page at https://gitlab.com/components/opentofu/-/releases to obtain the image digests.'
 
     # Configuration
diff --git a/templates/validate-plan-destroy.yml b/templates/validate-plan-destroy.yml
index a801d93497ebc8e35c9da69b63678ea5be531369..e1c0b2d03926e4fec80edad5aa30999f115e2dc0 100644
--- a/templates/validate-plan-destroy.yml
+++ b/templates/validate-plan-destroy.yml
@@ -63,7 +63,10 @@ spec:
 
     image_digest:
       default: ''
-      regex: '^(@sha256:[a-z0-9]{64})?$'
+      # FIXME: we cannot use regex yet because of a bug that rejects
+      # empty strings from ever being checked against the regex.
+      # see https://gitlab.com/gitlab-org/gitlab/-/issues/477707
+      # regex: '^(@sha256:[a-z0-9]{64})?$'
       description: 'Image digest of the image you want to use. The format must be `@<image_digest>`, e.g. `@sha256:abc..`, see regex of this input. Please consult the release page at https://gitlab.com/components/opentofu/-/releases to obtain the image digests.'
 
     # Configuration
diff --git a/templates/validate-plan.yml b/templates/validate-plan.yml
index fd1eb1fd03980d5bf64799041f187bdb5abf7ec4..709901f7340c5e96a0e89f790539f0975d8aab00 100644
--- a/templates/validate-plan.yml
+++ b/templates/validate-plan.yml
@@ -60,7 +60,10 @@ spec:
 
     image_digest:
       default: ''
-      regex: '^(@sha256:[a-z0-9]{64})?$'
+      # FIXME: we cannot use regex yet because of a bug that rejects
+      # empty strings from ever being checked against the regex.
+      # see https://gitlab.com/gitlab-org/gitlab/-/issues/477707
+      # regex: '^(@sha256:[a-z0-9]{64})?$'
       description: 'Image digest of the image you want to use. The format must be `@<image_digest>`, e.g. `@sha256:abc..`, see regex of this input. Please consult the release page at https://gitlab.com/components/opentofu/-/releases to obtain the image digests.'
 
     # Configuration
diff --git a/templates/validate.yml b/templates/validate.yml
index 2f0306f3256b8cb08f53b5b74ec3ad38053e5fd3..f88189c05e927392a067146736c4b128e1e9a055 100644
--- a/templates/validate.yml
+++ b/templates/validate.yml
@@ -60,7 +60,10 @@ spec:
 
     image_digest:
       default: ''
-      regex: '^(@sha256:[a-z0-9]{64})?$'
+      # FIXME: we cannot use regex yet because of a bug that rejects
+      # empty strings from ever being checked against the regex.
+      # see https://gitlab.com/gitlab-org/gitlab/-/issues/477707
+      # regex: '^(@sha256:[a-z0-9]{64})?$'
       description: 'Image digest of the image you want to use. The format must be `@<image_digest>`, e.g. `@sha256:abc..`, see regex of this input. Please consult the release page at https://gitlab.com/components/opentofu/-/releases to obtain the image digests.'
 
     # Configuration