From 1654d766434448e9f48d1f103e7b840251a62975 Mon Sep 17 00:00:00 2001 From: Dave Arnold Date: Wed, 21 Aug 2024 16:59:18 -0700 Subject: [PATCH] re-adding tests --- github_repo.tftest.hcl | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 github_repo.tftest.hcl diff --git a/github_repo.tftest.hcl b/github_repo.tftest.hcl new file mode 100644 index 0000000..8c0471c --- /dev/null +++ b/github_repo.tftest.hcl @@ -0,0 +1,19 @@ +# valid_string_concat.tftest.hcl +variables { + force_name = true + github_is_private = true + repo_org = "HappyPathway" + name = "github-repo-test" + enforce_prs = false + archive_on_destroy = false +} + +run "repo_tests" { + + command = plan + + assert { + condition = github_repository.repo.name == "github-repo-test" + error_message = "Github Repo name did not match expected" + } +}