From e3d50feb337221583d9e8e25cb6e6ab2b94c29e5 Mon Sep 17 00:00:00 2001 From: RLRabinowitz <30493345+RLRabinowitz@users.noreply.github.com> Date: Thu, 28 Apr 2022 17:44:54 +0300 Subject: [PATCH] Do not fail tests if there are multiple delete templates with the same name (#351) --- tests/integration/022_templates/main.tf | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tests/integration/022_templates/main.tf b/tests/integration/022_templates/main.tf index 4af7afbd..92621753 100644 --- a/tests/integration/022_templates/main.tf +++ b/tests/integration/022_templates/main.tf @@ -38,7 +38,8 @@ resource "env0_template" "github_template2" { data "env0_templates" "all_templates" {} -data "env0_template" "templates" { - for_each = toset(data.env0_templates.all_templates.names) - name = each.value -} +# This is removed temporarily until https://github.com/env0/terraform-provider-env0/issues/350 is fixed +#data "env0_template" "templates" { +# for_each = toset(data.env0_templates.all_templates.names) +# name = each.value +#}