Skip to content

Commit

Permalink
Do not fail tests if there are multiple delete templates with the sam…
Browse files Browse the repository at this point in the history
…e name (#351)
  • Loading branch information
RLRabinowitz committed Apr 28, 2022
1 parent 1b18a3b commit e3d50fe
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tests/integration/022_templates/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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
#}

0 comments on commit e3d50fe

Please sign in to comment.