Skip to content

Commit

Permalink
add an integeation test
Browse files Browse the repository at this point in the history
  • Loading branch information
TomerHeber committed May 30, 2024
1 parent 33467b7 commit ec20eff
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions tests/integration/012_environment/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,17 @@ resource "env0_template_project_assignment" "assignment" {
project_id = env0_project.test_project.id
}

resource "env0_environment_import" "environment_import" {
name = "environment-import-${random_string.random.result}"
git_provider = "github"
path = "misc/null-resource"
repository = data.env0_template.github_template_for_environment.repository
revision = "revision"
workspace = "workspace"
tfversion = "1.7.1"
iac_type = "opentofu"
}

resource "env0_environment" "auto_glob_envrironment" {
depends_on = [env0_template_project_assignment.assignment]
name = "environment-auto-glob-${random_string.random.result}"
Expand Down

0 comments on commit ec20eff

Please sign in to comment.