Skip to content

Commit

Permalink
fix: integration tests templates must enforce terraform_tf_binary (#977)
Browse files Browse the repository at this point in the history
  • Loading branch information
onhate authored Nov 14, 2024
1 parent 81ae429 commit e9c0422
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
13 changes: 7 additions & 6 deletions tests/integration/004_template/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,13 @@ resource "env0_template" "gitlab_template" {
}

resource "env0_template" "template_tg" {
name = "Template for environment resource - tg-${random_string.random.result}"
type = "terragrunt"
repository = "https://github.com/env0/templates"
path = "terragrunt/misc/null-resource"
terraform_version = "0.15.1"
terragrunt_version = "0.35.0"
name = "Template for environment resource - tg-${random_string.random.result}"
type = "terragrunt"
repository = "https://github.com/env0/templates"
path = "terragrunt/misc/null-resource"
terragrunt_tf_binary = "terraform"
terraform_version = "0.15.1"
terragrunt_version = "0.35.0"
}

resource "env0_template" "template_opentofu" {
Expand Down
13 changes: 7 additions & 6 deletions tests/integration/012_environment/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -122,12 +122,13 @@ resource "env0_environment_state_access" "disallow" {
*/

resource "env0_template" "terragrunt_template" {
name = "Terragrunt template for environment resource-${random_string.random.result}"
type = "terragrunt"
repository = "https://github.com/env0/templates"
path = "misc/null-resource"
terraform_version = "0.15.1"
terragrunt_version = "0.35.0"
name = "Terragrunt template for environment resource-${random_string.random.result}"
type = "terragrunt"
repository = "https://github.com/env0/templates"
path = "misc/null-resource"
terragrunt_tf_binary = "terraform"
terraform_version = "0.15.1"
terragrunt_version = "0.35.0"
}

resource "env0_template_project_assignment" "terragrunt_assignment" {
Expand Down

0 comments on commit e9c0422

Please sign in to comment.