run "valid_tags_with_service_name" {

  command = plan

  assert {
    condition = module.tags_with_service_name.tags == {
      application_family          = "devops"
      env                         = "test"
      environment                 = "test"
      service                     = "test_service"
      service_name                = "test_service"
      terraform_github_path       = "test"
      terraform_github_repository = "terraform-default-tags"
      terraformed                 = true
      team                        = "devops"
    }
    error_message = "tags_with_service_name did not match expected"
  }

}

run "valid_tags_without_service_name" {

  command = plan

  assert {
    condition = module.tags_without_service_name.tags == {
      application_family          = "devops"
      env                         = "test"
      environment                 = "test"
      terraform_github_path       = "test"
      terraform_github_repository = "terraform-default-tags"
      terraformed                 = true
      team                        = "devops"
    }
    error_message = "tags_without_service_name did not match expected"
  }

}

