diff --git a/tests/remote/check_alert_source_usage/base_variables.tf b/tests/remote/check_alert_source_usage/base_variables.tf deleted file mode 120000 index dbe1fa17..00000000 --- a/tests/remote/check_alert_source_usage/base_variables.tf +++ /dev/null @@ -1 +0,0 @@ -../check_base/base_variables.tf \ No newline at end of file diff --git a/tests/remote/check_alert_source_usage/main.tf b/tests/remote/check_alert_source_usage/main.tf deleted file mode 100644 index 98c4cc7b..00000000 --- a/tests/remote/check_alert_source_usage/main.tf +++ /dev/null @@ -1,14 +0,0 @@ -resource "opslevel_check_alert_source_usage" "test" { - alert_name_predicate = var.alert_name_predicate - alert_type = var.alert_type - - # -- check base fields -- - category = var.category - enable_on = var.enable_on - enabled = var.enabled - filter = var.filter - level = var.level - name = var.name - notes = var.notes - owner = var.owner -} diff --git a/tests/remote/check_alert_source_usage/variables.tf b/tests/remote/check_alert_source_usage/variables.tf deleted file mode 100644 index e1bf44ea..00000000 --- a/tests/remote/check_alert_source_usage/variables.tf +++ /dev/null @@ -1,22 +0,0 @@ -variable "alert_name_predicate" { - type = object({ - type = string - value = optional(string) - }) - description = "A condition that should be satisfied." -} - -variable "alert_type" { - type = string - description = "The type of the alert source." - - validation { - condition = var.alert_type == null ? true : contains([ - "pagerduty", - "datadog", - "opsgenie", - "new_relic", - ], var.alert_type) - error_message = "expected level to be a valid ID starting with 'Z2lkOi8v'" - } -} diff --git a/tests/remote/check_base/base_variables.tf b/tests/remote/check_base/base_variables.tf deleted file mode 100644 index 24376085..00000000 --- a/tests/remote/check_base/base_variables.tf +++ /dev/null @@ -1,59 +0,0 @@ -variable "category" { - type = string - description = "The id of the category the check belongs to." - - validation { - condition = var.category == null ? true : startswith(var.category, "Z2lkOi8v") - error_message = "expected category to be a valid ID starting with 'Z2lkOi8v'" - } -} - -variable "enable_on" { - type = string - description = "The date when the check will be automatically enabled." -} - -variable "enabled" { - type = bool - description = "Whether the check is enabled or not. Do not use this field in tandem with 'enable_on'." -} - -variable "filter" { - type = string - description = "The id of the filter of the check." - - validation { - condition = var.filter == null ? true : startswith(var.filter, "Z2lkOi8v") - error_message = "expected filter to be a valid ID starting with 'Z2lkOi8v'" - } -} - -variable "level" { - type = string - description = "The id of the level the check belongs to." - - validation { - condition = var.level == null ? true : startswith(var.level, "Z2lkOi8v") - error_message = "expected level to be a valid ID starting with 'Z2lkOi8v'" - } -} - -variable "name" { - type = string - description = "The display name of the check." -} - -variable "notes" { - type = string - description = "Additional information to display to the service owner about the check." -} - -variable "owner" { - type = string - description = "The id of the team that owns the check." - - validation { - condition = var.owner == null ? true : startswith(var.owner, "Z2lkOi8v") - error_message = "expected owner to be a valid ID starting with 'Z2lkOi8v'" - } -} diff --git a/tests/remote/check_custom_event/main.tf b/tests/remote/check_custom_event/main.tf deleted file mode 100644 index 46409041..00000000 --- a/tests/remote/check_custom_event/main.tf +++ /dev/null @@ -1 +0,0 @@ -# TODO diff --git a/tests/remote/check_custom_event/variables.tf b/tests/remote/check_custom_event/variables.tf deleted file mode 100644 index e69de29b..00000000 diff --git a/tests/remote/check_git_branch_protection/base_variables.tf b/tests/remote/check_git_branch_protection/base_variables.tf deleted file mode 120000 index dbe1fa17..00000000 --- a/tests/remote/check_git_branch_protection/base_variables.tf +++ /dev/null @@ -1 +0,0 @@ -../check_base/base_variables.tf \ No newline at end of file diff --git a/tests/remote/check_git_branch_protection/main.tf b/tests/remote/check_git_branch_protection/main.tf deleted file mode 100644 index c5ef92b2..00000000 --- a/tests/remote/check_git_branch_protection/main.tf +++ /dev/null @@ -1,10 +0,0 @@ -resource "opslevel_check_git_branch_protection" "test" { - category = var.category - enable_on = var.enable_on - enabled = var.enabled - filter = var.filter - level = var.level - name = var.name - notes = var.notes - owner = var.owner -} diff --git a/tests/remote/check_git_branch_protection/variables.tf b/tests/remote/check_git_branch_protection/variables.tf deleted file mode 100644 index 06372d9b..00000000 --- a/tests/remote/check_git_branch_protection/variables.tf +++ /dev/null @@ -1 +0,0 @@ -# Only needs base_variables.tf diff --git a/tests/remote/check_has_documentation/base_variables.tf b/tests/remote/check_has_documentation/base_variables.tf deleted file mode 120000 index dbe1fa17..00000000 --- a/tests/remote/check_has_documentation/base_variables.tf +++ /dev/null @@ -1 +0,0 @@ -../check_base/base_variables.tf \ No newline at end of file diff --git a/tests/remote/check_has_documentation/main.tf b/tests/remote/check_has_documentation/main.tf deleted file mode 100644 index dd0441dd..00000000 --- a/tests/remote/check_has_documentation/main.tf +++ /dev/null @@ -1,14 +0,0 @@ -resource "opslevel_check_has_documentation" "test" { - document_type = var.document_type - document_subtype = var.document_subtype - - # -- check base fields -- - category = var.category - enable_on = var.enable_on - enabled = var.enabled - filter = var.filter - level = var.level - name = var.name - notes = var.notes - owner = var.owner -} diff --git a/tests/remote/check_has_documentation/variables.tf b/tests/remote/check_has_documentation/variables.tf deleted file mode 100644 index 3a485dae..00000000 --- a/tests/remote/check_has_documentation/variables.tf +++ /dev/null @@ -1,19 +0,0 @@ -variable "document_subtype" { - type = string - description = "The subtype of the document." - - validation { - condition = var.document_subtype == null ? true : contains(["openapi"], var.document_subtype) - error_message = "expected document_type to be 'openapi'" - } -} - -variable "document_type" { - type = string - description = "The type of the document." - - validation { - condition = var.document_type == null ? true : contains(["api", "tech"], var.document_type) - error_message = "expected document_type to be 'api' or tech'" - } -} diff --git a/tests/remote/check_has_recent_deploy/base_variables.tf b/tests/remote/check_has_recent_deploy/base_variables.tf deleted file mode 120000 index dbe1fa17..00000000 --- a/tests/remote/check_has_recent_deploy/base_variables.tf +++ /dev/null @@ -1 +0,0 @@ -../check_base/base_variables.tf \ No newline at end of file diff --git a/tests/remote/check_has_recent_deploy/main.tf b/tests/remote/check_has_recent_deploy/main.tf deleted file mode 100644 index 3fd53213..00000000 --- a/tests/remote/check_has_recent_deploy/main.tf +++ /dev/null @@ -1,13 +0,0 @@ -resource "opslevel_check_has_recent_deploy" "test" { - days = var.days - - # -- check base fields -- - category = var.category - enable_on = var.enable_on - enabled = var.enabled - filter = var.filter - level = var.level - name = var.name - notes = var.notes - owner = var.owner -} diff --git a/tests/remote/check_has_recent_deploy/variables.tf b/tests/remote/check_has_recent_deploy/variables.tf deleted file mode 100644 index f52e06a5..00000000 --- a/tests/remote/check_has_recent_deploy/variables.tf +++ /dev/null @@ -1,4 +0,0 @@ -variable "days" { - type = number - description = "The number of days to check since the last deploy." -} diff --git a/tests/remote/check_manual/base_variables.tf b/tests/remote/check_manual/base_variables.tf deleted file mode 120000 index dbe1fa17..00000000 --- a/tests/remote/check_manual/base_variables.tf +++ /dev/null @@ -1 +0,0 @@ -../check_base/base_variables.tf \ No newline at end of file diff --git a/tests/remote/check_manual/main.tf b/tests/remote/check_manual/main.tf deleted file mode 100644 index 4a57670d..00000000 --- a/tests/remote/check_manual/main.tf +++ /dev/null @@ -1,19 +0,0 @@ -resource "opslevel_check_manual" "test" { - category = var.category - enable_on = var.enable_on - enabled = var.enabled - filter = var.filter - level = var.level - name = var.name - notes = var.notes - owner = var.owner - update_frequency = var.update_frequency - update_requires_comment = var.update_requires_comment - - lifecycle { - ignore_changes = [ - enabled, - enable_on - ] - } -} diff --git a/tests/remote/check_manual/variables.tf b/tests/remote/check_manual/variables.tf deleted file mode 100644 index 809b3c57..00000000 --- a/tests/remote/check_manual/variables.tf +++ /dev/null @@ -1,13 +0,0 @@ -variable "update_frequency" { - type = object({ - starting_date = string - time_scale = string - value = number - }) - description = "Defines the minimum frequency of the updates." -} - -variable "update_requires_comment" { - type = bool - description = "Whether the check requires a comment or not." -} diff --git a/tests/remote/check_package_version/base_variables.tf b/tests/remote/check_package_version/base_variables.tf deleted file mode 120000 index dbe1fa17..00000000 --- a/tests/remote/check_package_version/base_variables.tf +++ /dev/null @@ -1 +0,0 @@ -../check_base/base_variables.tf \ No newline at end of file diff --git a/tests/remote/check_package_version/main.tf b/tests/remote/check_package_version/main.tf deleted file mode 100644 index dfeb8f21..00000000 --- a/tests/remote/check_package_version/main.tf +++ /dev/null @@ -1,17 +0,0 @@ -resource "opslevel_check_package_version" "test" { - category = var.category - filter = var.filter - enable_on = var.enable_on - enabled = var.enabled - level = var.level - name = var.name - notes = var.notes - owner = var.owner - - missing_package_result = var.missing_package_result - package_constraint = var.package_constraint - package_manager = var.package_manager - package_name = var.package_name - package_name_is_regex = var.package_name_is_regex - version_constraint_predicate = var.version_constraint_predicate -} diff --git a/tests/remote/check_package_version/variables.tf b/tests/remote/check_package_version/variables.tf deleted file mode 100644 index f32670f5..00000000 --- a/tests/remote/check_package_version/variables.tf +++ /dev/null @@ -1,35 +0,0 @@ -variable "missing_package_result" { - type = string - description = "The check result if the package isn't being used by a service. (Optional.)" - default = null -} - -variable "package_constraint" { - type = string - description = "The package constraint the service is to be checked for. (Required.)" -} - -variable "package_manager" { - type = string - description = "The package manager (ecosystem) this package relates to. (Required.)" -} - -variable "package_name" { - type = string - description = "The name of the package to be checked. (Required.)" -} - -variable "package_name_is_regex" { - type = bool - description = "Whether or not the value in the package name field is a regular expression. (Optional.)" - default = null -} - -variable "version_constraint_predicate" { - type = object({ - type = string - value = optional(string) - }) - description = "A condition that should be satisfied." - default = null -} diff --git a/tests/remote/check_repository_file/base_variables.tf b/tests/remote/check_repository_file/base_variables.tf deleted file mode 120000 index dbe1fa17..00000000 --- a/tests/remote/check_repository_file/base_variables.tf +++ /dev/null @@ -1 +0,0 @@ -../check_base/base_variables.tf \ No newline at end of file diff --git a/tests/remote/check_repository_file/main.tf b/tests/remote/check_repository_file/main.tf deleted file mode 100644 index 8d8f1436..00000000 --- a/tests/remote/check_repository_file/main.tf +++ /dev/null @@ -1,16 +0,0 @@ -resource "opslevel_check_repository_file" "test" { - directory_search = var.directory_search - file_contents_predicate = var.file_contents_predicate - filepaths = var.filepaths - use_absolute_root = var.use_absolute_root - - # -- check base fields -- - category = var.category - enable_on = var.enable_on - enabled = var.enabled - filter = var.filter - level = var.level - name = var.name - notes = var.notes - owner = var.owner -} diff --git a/tests/remote/check_repository_file/variables.tf b/tests/remote/check_repository_file/variables.tf deleted file mode 100644 index 01510960..00000000 --- a/tests/remote/check_repository_file/variables.tf +++ /dev/null @@ -1,27 +0,0 @@ -variable "directory_search" { - type = bool - description = "Whether the check looks for the existence of a directory instead of a file." -} - -variable "file_contents_predicate" { - type = object({ - type = string - value = optional(string) - }) - description = "A condition that should be satisfied." -} - -variable "filepaths" { - type = list(string) - description = "Restrict the search to certain file paths." - validation { - condition = length(var.filepaths) > 0 - error_message = "expected at least one item" - } -} - -variable "use_absolute_root" { - type = bool - description = "Whether the checks looks at the absolute root of a repo or the relative root (the directory specified when attached a repo to a service)." -} - diff --git a/tests/remote/check_repository_grep/base_variables.tf b/tests/remote/check_repository_grep/base_variables.tf deleted file mode 120000 index dbe1fa17..00000000 --- a/tests/remote/check_repository_grep/base_variables.tf +++ /dev/null @@ -1 +0,0 @@ -../check_base/base_variables.tf \ No newline at end of file diff --git a/tests/remote/check_repository_grep/main.tf b/tests/remote/check_repository_grep/main.tf deleted file mode 100644 index 16669bff..00000000 --- a/tests/remote/check_repository_grep/main.tf +++ /dev/null @@ -1,19 +0,0 @@ -resource "opslevel_check_repository_grep" "test" { - directory_search = var.directory_search - # file_contents_predicate = var.file_contents_predicate - file_contents_predicate = { - type = "exists" - value = null - } - filepaths = var.filepaths - - # -- check base fields -- - category = var.category - enable_on = var.enable_on - enabled = var.enabled - filter = var.filter - level = var.level - name = var.name - notes = var.notes - owner = var.owner -} diff --git a/tests/remote/check_repository_grep/variables.tf b/tests/remote/check_repository_grep/variables.tf deleted file mode 100644 index 6f6e564b..00000000 --- a/tests/remote/check_repository_grep/variables.tf +++ /dev/null @@ -1,23 +0,0 @@ -# NOTE: if directory_search is true, file_contents_predicate can only be "exists" or "does_not_exist" -variable "directory_search" { - type = bool - description = "Whether the check looks for the existence of a directory instead of a file." -} - -variable "file_contents_predicate" { - type = object({ - type = string - value = optional(string) - }) - description = "A condition that should be satisfied." -} - -variable "filepaths" { - type = list(string) - description = "Restrict the search to certain file paths." - - validation { - condition = length(var.filepaths) > 0 - error_message = "expected at least one file path" - } -} diff --git a/tests/remote/check_repository_integrated/base_variables.tf b/tests/remote/check_repository_integrated/base_variables.tf deleted file mode 120000 index dbe1fa17..00000000 --- a/tests/remote/check_repository_integrated/base_variables.tf +++ /dev/null @@ -1 +0,0 @@ -../check_base/base_variables.tf \ No newline at end of file diff --git a/tests/remote/check_repository_integrated/main.tf b/tests/remote/check_repository_integrated/main.tf deleted file mode 100644 index a45d8888..00000000 --- a/tests/remote/check_repository_integrated/main.tf +++ /dev/null @@ -1,11 +0,0 @@ -resource "opslevel_check_repository_integrated" "test" { - # -- check base fields -- - category = var.category - enable_on = var.enable_on - enabled = var.enabled - filter = var.filter - level = var.level - name = var.name - notes = var.notes - owner = var.owner -} diff --git a/tests/remote/check_repository_integrated/variables.tf b/tests/remote/check_repository_integrated/variables.tf deleted file mode 100644 index 06372d9b..00000000 --- a/tests/remote/check_repository_integrated/variables.tf +++ /dev/null @@ -1 +0,0 @@ -# Only needs base_variables.tf diff --git a/tests/remote/check_repository_search/base_variables.tf b/tests/remote/check_repository_search/base_variables.tf deleted file mode 120000 index dbe1fa17..00000000 --- a/tests/remote/check_repository_search/base_variables.tf +++ /dev/null @@ -1 +0,0 @@ -../check_base/base_variables.tf \ No newline at end of file diff --git a/tests/remote/check_repository_search/main.tf b/tests/remote/check_repository_search/main.tf deleted file mode 100644 index 8fe51cde..00000000 --- a/tests/remote/check_repository_search/main.tf +++ /dev/null @@ -1,18 +0,0 @@ -resource "opslevel_check_repository_search" "test" { - # file_contents_predicate = var.file_contents_predicate - file_contents_predicate = { - type = "contains" - value = "dev" - } - file_extensions = var.file_extensions - - # -- check base fields -- - category = var.category - enable_on = var.enable_on - enabled = var.enabled - filter = var.filter - level = var.level - name = var.name - notes = var.notes - owner = var.owner -} diff --git a/tests/remote/check_repository_search/variables.tf b/tests/remote/check_repository_search/variables.tf deleted file mode 100644 index 5a2ef766..00000000 --- a/tests/remote/check_repository_search/variables.tf +++ /dev/null @@ -1,12 +0,0 @@ -variable "file_extensions" { - type = set(string) - description = "Restrict the search to files of given extensions. Extensions should contain only letters and numbers. For example: [\"py\", \"rb\"]." -} - -variable "file_contents_predicate" { - type = object({ - type = string - value = optional(string) - }) - description = "A condition that should be satisfied." -} diff --git a/tests/remote/check_service_configuration/base_variables.tf b/tests/remote/check_service_configuration/base_variables.tf deleted file mode 120000 index dbe1fa17..00000000 --- a/tests/remote/check_service_configuration/base_variables.tf +++ /dev/null @@ -1 +0,0 @@ -../check_base/base_variables.tf \ No newline at end of file diff --git a/tests/remote/check_service_configuration/main.tf b/tests/remote/check_service_configuration/main.tf deleted file mode 100644 index 9c66af2b..00000000 --- a/tests/remote/check_service_configuration/main.tf +++ /dev/null @@ -1,10 +0,0 @@ -resource "opslevel_check_service_configuration" "test" { - category = var.category - enable_on = var.enable_on - enabled = var.enabled - filter = var.filter - level = var.level - name = var.name - notes = var.notes - owner = var.owner -} diff --git a/tests/remote/check_service_configuration/variables.tf b/tests/remote/check_service_configuration/variables.tf deleted file mode 100644 index 06372d9b..00000000 --- a/tests/remote/check_service_configuration/variables.tf +++ /dev/null @@ -1 +0,0 @@ -# Only needs base_variables.tf diff --git a/tests/remote/check_service_dependency/base_variables.tf b/tests/remote/check_service_dependency/base_variables.tf deleted file mode 120000 index dbe1fa17..00000000 --- a/tests/remote/check_service_dependency/base_variables.tf +++ /dev/null @@ -1 +0,0 @@ -../check_base/base_variables.tf \ No newline at end of file diff --git a/tests/remote/check_service_dependency/main.tf b/tests/remote/check_service_dependency/main.tf deleted file mode 100644 index 64d05811..00000000 --- a/tests/remote/check_service_dependency/main.tf +++ /dev/null @@ -1,10 +0,0 @@ -resource "opslevel_check_service_dependency" "test" { - category = var.category - enable_on = var.enable_on - enabled = var.enabled - filter = var.filter - level = var.level - name = var.name - notes = var.notes - owner = var.owner -} diff --git a/tests/remote/check_service_dependency/variables.tf b/tests/remote/check_service_dependency/variables.tf deleted file mode 100644 index 06372d9b..00000000 --- a/tests/remote/check_service_dependency/variables.tf +++ /dev/null @@ -1 +0,0 @@ -# Only needs base_variables.tf diff --git a/tests/remote/check_service_ownership/base_variables.tf b/tests/remote/check_service_ownership/base_variables.tf deleted file mode 120000 index dbe1fa17..00000000 --- a/tests/remote/check_service_ownership/base_variables.tf +++ /dev/null @@ -1 +0,0 @@ -../check_base/base_variables.tf \ No newline at end of file diff --git a/tests/remote/check_service_ownership/main.tf b/tests/remote/check_service_ownership/main.tf deleted file mode 100644 index 80b9677c..00000000 --- a/tests/remote/check_service_ownership/main.tf +++ /dev/null @@ -1,16 +0,0 @@ -resource "opslevel_check_service_ownership" "test" { - contact_method = var.contact_method - require_contact_method = var.require_contact_method - tag_key = var.tag_key - tag_predicate = var.tag_predicate - - # -- check base fields -- - category = var.category - enable_on = var.enable_on - enabled = var.enabled - filter = var.filter - level = var.level - name = var.name - notes = var.notes - owner = var.owner -} diff --git a/tests/remote/check_service_ownership/variables.tf b/tests/remote/check_service_ownership/variables.tf deleted file mode 100644 index cf31ffd7..00000000 --- a/tests/remote/check_service_ownership/variables.tf +++ /dev/null @@ -1,34 +0,0 @@ -variable "contact_method" { - type = string - description = "The type of contact method that is required." - - validation { - condition = var.contact_method == null ? true : contains([ - "any", - "email", - "github", - "slack", - "slack_handle", - "web", - ], var.contact_method) - error_message = "invalid predicate type for contact_method" - } -} - -variable "require_contact_method" { - type = bool - description = "True if a service's owner must have a contact method, False otherwise." -} - -variable "tag_key" { - type = string - description = "The tag key where the tag predicate should be applied." -} - -variable "tag_predicate" { - type = object({ - type = string - value = optional(string) - }) - description = "A condition that should be satisfied." -} diff --git a/tests/remote/check_service_property/base_variables.tf b/tests/remote/check_service_property/base_variables.tf deleted file mode 120000 index dbe1fa17..00000000 --- a/tests/remote/check_service_property/base_variables.tf +++ /dev/null @@ -1 +0,0 @@ -../check_base/base_variables.tf \ No newline at end of file diff --git a/tests/remote/check_service_property/main.tf b/tests/remote/check_service_property/main.tf deleted file mode 100644 index c4c45f92..00000000 --- a/tests/remote/check_service_property/main.tf +++ /dev/null @@ -1,14 +0,0 @@ -resource "opslevel_check_service_property" "test" { - property = var.property - predicate = var.predicate - - # -- check base fields -- - category = var.category - enable_on = var.enable_on - enabled = var.enabled - filter = var.filter - level = var.level - name = var.name - notes = var.notes - owner = var.owner -} diff --git a/tests/remote/check_service_property/variables.tf b/tests/remote/check_service_property/variables.tf deleted file mode 100644 index d95f1942..00000000 --- a/tests/remote/check_service_property/variables.tf +++ /dev/null @@ -1,28 +0,0 @@ -variable "property" { - type = string - description = "The property of the service that the check will verify." - - validation { - condition = var.property == null ? true : contains([ - "custom_property", - "description", - "framework", - "language", - "lifecycle_index", - "name", - "note", - "product", - "system", - "tier_index", - ], var.property) - error_message = "invalid property type" - } -} - -variable "predicate" { - type = object({ - type = string - value = optional(string) - }) - description = "A condition that should be satisfied." -} diff --git a/tests/remote/check_tag_defined/base_variables.tf b/tests/remote/check_tag_defined/base_variables.tf deleted file mode 120000 index dbe1fa17..00000000 --- a/tests/remote/check_tag_defined/base_variables.tf +++ /dev/null @@ -1 +0,0 @@ -../check_base/base_variables.tf \ No newline at end of file diff --git a/tests/remote/check_tag_defined/main.tf b/tests/remote/check_tag_defined/main.tf deleted file mode 100644 index 5c47b95d..00000000 --- a/tests/remote/check_tag_defined/main.tf +++ /dev/null @@ -1,14 +0,0 @@ -resource "opslevel_check_tag_defined" "test" { - tag_key = var.tag_key - tag_predicate = var.tag_predicate - - # -- check base fields -- - category = var.category - enable_on = var.enable_on - enabled = var.enabled - filter = var.filter - level = var.level - name = var.name - notes = var.notes - owner = var.owner -} diff --git a/tests/remote/check_tag_defined/variables.tf b/tests/remote/check_tag_defined/variables.tf deleted file mode 100644 index e8e42b8f..00000000 --- a/tests/remote/check_tag_defined/variables.tf +++ /dev/null @@ -1,12 +0,0 @@ -variable "tag_key" { - type = string - description = "The tag key where the tag predicate should be applied." -} - -variable "tag_predicate" { - type = object({ - type = string - value = optional(string) - }) - description = "A condition that should be satisfied." -} diff --git a/tests/remote/check_tool_usage/base_variables.tf b/tests/remote/check_tool_usage/base_variables.tf deleted file mode 120000 index dbe1fa17..00000000 --- a/tests/remote/check_tool_usage/base_variables.tf +++ /dev/null @@ -1 +0,0 @@ -../check_base/base_variables.tf \ No newline at end of file diff --git a/tests/remote/check_tool_usage/main.tf b/tests/remote/check_tool_usage/main.tf deleted file mode 100644 index d58c3c57..00000000 --- a/tests/remote/check_tool_usage/main.tf +++ /dev/null @@ -1,17 +0,0 @@ -resource "opslevel_check_tool_usage" "test" { - tool_category = var.tool_category - environment_predicate = var.environment_predicate - tool_name_predicate = var.tool_name_predicate - tool_url_predicate = var.tool_url_predicate - - - # -- check base fields -- - category = var.category - enable_on = var.enable_on - enabled = var.enabled - filter = var.filter - level = var.level - name = var.name - notes = var.notes - owner = var.owner -} diff --git a/tests/remote/check_tool_usage/variables.tf b/tests/remote/check_tool_usage/variables.tf deleted file mode 100644 index c7798b33..00000000 --- a/tests/remote/check_tool_usage/variables.tf +++ /dev/null @@ -1,28 +0,0 @@ -variable "environment_predicate" { - type = object({ - type = string - value = optional(string) - }) - description = "A condition that should be satisfied." -} - -variable "tool_category" { - type = string - description = "The category that the tool belongs to." -} - -variable "tool_name_predicate" { - type = object({ - type = string - value = optional(string) - }) - description = "A condition that should be satisfied." -} - -variable "tool_url_predicate" { - type = object({ - type = string - value = optional(string) - }) - description = "A condition that should be satisfied." -}