terraform/internal/command/testdata/test
Samsondeen 0b35407d2c
Some checks failed
build / Determine intended Terraform version (push) Has been cancelled
build / Determine Go toolchain version (push) Has been cancelled
Quick Checks / Unit Tests (push) Has been cancelled
Quick Checks / Race Tests (push) Has been cancelled
Quick Checks / End-to-end Tests (push) Has been cancelled
Quick Checks / Code Consistency Checks (push) Has been cancelled
build / Generate release metadata (push) Has been cancelled
build / Build for freebsd_386 (push) Has been cancelled
build / Build for linux_386 (push) Has been cancelled
build / Build for openbsd_386 (push) Has been cancelled
build / Build for windows_386 (push) Has been cancelled
build / Build for darwin_amd64 (push) Has been cancelled
build / Build for freebsd_amd64 (push) Has been cancelled
build / Build for linux_amd64 (push) Has been cancelled
build / Build for openbsd_amd64 (push) Has been cancelled
build / Build for solaris_amd64 (push) Has been cancelled
build / Build for windows_amd64 (push) Has been cancelled
build / Build for freebsd_arm (push) Has been cancelled
build / Build for linux_arm (push) Has been cancelled
build / Build for darwin_arm64 (push) Has been cancelled
build / Build for linux_arm64 (push) Has been cancelled
build / Build for windows_arm64 (push) Has been cancelled
build / Build Docker image for linux_386 (push) Has been cancelled
build / Build Docker image for linux_amd64 (push) Has been cancelled
build / Build Docker image for linux_arm (push) Has been cancelled
build / Build Docker image for linux_arm64 (push) Has been cancelled
build / Build e2etest for linux_386 (push) Has been cancelled
build / Build e2etest for windows_386 (push) Has been cancelled
build / Build e2etest for darwin_amd64 (push) Has been cancelled
build / Build e2etest for linux_amd64 (push) Has been cancelled
build / Build e2etest for windows_amd64 (push) Has been cancelled
build / Build e2etest for linux_arm (push) Has been cancelled
build / Build e2etest for darwin_arm64 (push) Has been cancelled
build / Build e2etest for linux_arm64 (push) Has been cancelled
build / Run e2e test for linux_386 (push) Has been cancelled
build / Run e2e test for windows_386 (push) Has been cancelled
build / Run e2e test for darwin_amd64 (push) Has been cancelled
build / Run e2e test for linux_amd64 (push) Has been cancelled
build / Run e2e test for windows_amd64 (push) Has been cancelled
build / Run e2e test for linux_arm (push) Has been cancelled
build / Run e2e test for linux_arm64 (push) Has been cancelled
build / Run terraform-exec test for linux amd64 (push) Has been cancelled
Allow functions in test mock blocks (#37883)
2026-01-22 09:42:21 +01:00
..
backend-with-skip-cleanup Implement controlling destroy functionality within Terraform Test (#37359) 2025-09-10 17:22:20 +02:00
bad-references terraform test: automatically create edges based on references (#37200) 2025-06-03 14:33:43 +02:00
cleanup Implement controlling destroy functionality within Terraform Test (#37359) 2025-09-10 17:22:20 +02:00
complex_condition Produce detailed diagnostic objects when test run assertions fail (#36522) 2025-03-03 15:46:04 +01:00
custom_condition_checks testing framework: change test file extension to .tftest.hcl (#33553) 2023-07-20 16:57:05 +02:00
custom_condition_inputs testing framework: change test file extension to .tftest.hcl (#33553) 2023-07-20 16:57:05 +02:00
custom_condition_outputs testing framework: change test file extension to .tftest.hcl (#33553) 2023-07-20 16:57:05 +02:00
custom_condition_resources testing framework: change test file extension to .tftest.hcl (#33553) 2023-07-20 16:57:05 +02:00
dangling_data_block terraform test: rearrange the order of destroy operations (#34293) 2023-11-29 16:37:52 +01:00
default_optional_values apply defaults when processing variables for assertions 2023-09-14 08:32:25 +02:00
default_variables test framework: expand variables available to test assertions (#33611) 2023-08-01 09:59:29 +02:00
deferred_changes terraform test: enable deferrals in Terraform Test with the specified flag (#37370) 2025-07-30 11:03:41 +02:00
destroy_fail Implement controlling destroy functionality within Terraform Test (#37359) 2025-09-10 17:22:20 +02:00
empty_module_with_output Add test verifying issue #34476 has been fixed (#34478) 2024-01-05 17:05:17 +01:00
env-vars terraform test: Push evaluation of variables to as late as possible (#35014) 2024-04-23 13:10:41 +02:00
env-vars-in-module terraform test: Push evaluation of variables to as late as possible (#35014) 2024-04-23 13:10:41 +02:00
ephemeral_input test: pass in variables during apply 2024-10-16 16:30:31 +02:00
ephemeral_input_with_error test: pass in variables during apply 2024-10-16 16:30:31 +02:00
ephemeral_output ephemerals: allow root ephemeral outputs in stacks and test (#37813) 2025-10-28 09:29:44 +01:00
ephemeral_output_referenced don't write ephemeral outputs to state (#37821) 2025-10-31 09:54:11 +01:00
ephemeral_resource test: pass in variables during apply 2024-10-16 16:30:31 +02:00
expect-failures-assertions test: don't panic when resolving references that haven't been evaluated (#37484) 2025-08-26 09:20:37 +02:00
expect_failures_checks testing framework: change test file extension to .tftest.hcl (#33553) 2023-07-20 16:57:05 +02:00
expect_failures_during_apply Continue test execution after an expected failure (#36447) 2025-02-10 12:34:17 +01:00
expect_failures_inputs Implement updates to testing framework based on recent feedback 2023-08-10 10:49:01 +02:00
expect_failures_outputs Implement updates to testing framework based on recent feedback 2023-08-10 10:49:01 +02:00
expect_failures_resources Implement updates to testing framework based on recent feedback 2023-08-10 10:49:01 +02:00
expected_failures_during_planning Continue test execution after an expected failure (#36447) 2025-02-10 12:34:17 +01:00
functions_available terraform test: Fix crash when file level variables reference variables. (#34531) 2024-01-22 20:00:22 +01:00
global_var_ref_in_suite_var run terraform fmt on test 2024-02-23 13:50:46 +01:00
global_var_refs terraform test: Fix crash when file level variables reference variables. (#34531) 2024-01-22 20:00:22 +01:00
invalid testing framework: validate the configuration before terraform test (#33559) 2023-07-26 10:56:44 +02:00
invalid-cleanup-warnings Remove invalid warning during cleanup phase (#35172) 2024-05-23 10:32:39 +02:00
invalid-module testing framework: validate the configuration before terraform test (#33559) 2023-07-26 10:56:44 +02:00
invalid-overrides testing framework: add warnings for override blocks with invalid targets (#34181) 2023-11-13 10:36:06 +01:00
invalid-reference-with-target evaluate: return diagnostics instead of unknown for uninitialised locals and resources (#37663) 2025-09-24 16:27:43 +02:00
invalid_config Terraform test: Consolidate test execution procedure (#36459) 2025-02-11 14:48:48 +01:00
invalid_default_state Implement updates to testing framework based on recent feedback 2023-08-10 10:49:01 +02:00
junit-output Produce detailed diagnostic objects when test run assertions fail (#36522) 2025-03-03 15:46:04 +01:00
long_running Test framework will produce regular updates in -json mode (#33953) 2023-10-02 09:14:20 +02:00
missing-provider test framework: include transformed config before validating config (#33608) 2023-08-01 09:47:00 +02:00
missing-provider-definition-in-file Terraform test: Consolidate test execution procedure (#36459) 2025-02-11 14:48:48 +01:00
missing-provider-in-run-block test framework: include transformed config before validating config (#33608) 2023-08-01 09:47:00 +02:00
missing-provider-in-test-module test framework: include transformed config before validating config (#33608) 2023-08-01 09:47:00 +02:00
mock-sources-inline Allow functions in test mock blocks (#37883) 2026-01-22 09:42:21 +01:00
mocking test: also allow mock_data and mock_resource blocks to generate data during planning (#36317) 2025-01-15 08:19:05 +01:00
mocking-error terraform test: allow computed/mocked values override during planning (#36227) 2025-01-08 12:39:03 +01:00
mocking-invalid terraform test: allow computed/mocked values override during planning (#36227) 2025-01-08 12:39:03 +01:00
mocking-invalid-outputs Allow functions in test mock blocks (#37883) 2026-01-22 09:42:21 +01:00
multiple_files testing framework: change test file extension to .tftest.hcl (#33553) 2023-07-20 16:57:05 +02:00
nested_unknown_values Add additional validation around unknown and null values in test variables (#33861) 2023-09-14 09:44:21 +02:00
no-tests terraform test: fix regression when running with no tests (#37475) (#37477) 2025-08-26 08:37:14 +02:00
no_providers_in_main Fix root cause of race condition in testing framework tests 2023-08-09 16:47:59 +02:00
no_state No state to cleaup when it is empty (#36526) 2025-02-18 19:33:41 +01:00
non-existent-backend-type Implement controlling destroy functionality within Terraform Test (#37359) 2025-09-10 17:22:20 +02:00
null-outputs Handle null outputs in Terraform test files (#33781) 2023-09-01 16:53:23 +02:00
null_value_in_assert Add additional validation around unknown and null values in test variables (#33861) 2023-09-14 09:44:21 +02:00
null_value_in_vars Add additional validation around unknown and null values in test variables (#33861) 2023-09-14 09:44:21 +02:00
only_modules Implement updates to testing framework based on recent feedback 2023-08-10 10:49:01 +02:00
parallel fix: TestTest_Parallel adds delay to ensure order (#37890) 2025-11-11 13:47:26 +01:00
parallel-errors terraform test: check specific dependencies before skipping run blocks (#37204) 2025-06-05 10:44:04 +00:00
parallel_divided Terraform test: Consolidate test execution procedure (#36459) 2025-02-11 14:48:48 +01:00
partial_updates Implement updates to testing framework based on recent feedback 2023-08-10 10:49:01 +02:00
pass_with_locals testing framework: change test file extension to .tftest.hcl (#33553) 2023-07-20 16:57:05 +02:00
pass_with_outputs testing framework: change test file extension to .tftest.hcl (#33553) 2023-07-20 16:57:05 +02:00
pass_with_variables explicitely disallow duplicate run block names in test files (#33836) 2023-09-09 08:05:37 +02:00
plan_then_apply explicitely disallow duplicate run block names in test files (#33836) 2023-09-09 08:05:37 +02:00
prevent-destroy terraform test: override prevent_destroy meta attribute (#37364) 2025-07-25 13:54:56 +02:00
provider-functions-available Include provider functions in scope used to evaluate test assertions (#34825) 2024-03-13 13:26:12 +01:00
provider_runs testing framework: allow providers to reference run blocks (#34118) 2023-11-08 09:21:20 +01:00
provider_runs_invalid terraform test: move providers into the graph (#37216) 2025-06-06 16:27:34 +02:00
provider_vars terraform test: allow providers in test files to reference variables (#34069) 2023-10-16 16:57:20 +02:00
rds_shared_subnet test: create all edges to leaf cleanup nodes (#37564) 2025-09-09 11:20:56 +02:00
removed-backend-type Implement controlling destroy functionality within Terraform Test (#37359) 2025-09-10 17:22:20 +02:00
reused-backend-config Implement controlling destroy functionality within Terraform Test (#37359) 2025-09-10 17:22:20 +02:00
reused-backend-config-child-modules Implement controlling destroy functionality within Terraform Test (#37359) 2025-09-10 17:22:20 +02:00
sensitive_input_values Produce detailed diagnostic objects when test run assertions fail (#36522) 2025-03-03 15:46:04 +01:00
shared_state Terraform test: Execute eligible test runs in parallel (#36300) 2025-02-05 15:18:38 +01:00
shared_state_object Introduce 'run' keyword for referencing outputs from earlier run blocks (#33683) 2023-08-16 11:06:00 +02:00
simple_fail testing framework: change test file extension to .tftest.hcl (#33553) 2023-07-20 16:57:05 +02:00
simple_pass testing framework: change test file extension to .tftest.hcl (#33553) 2023-07-20 16:57:05 +02:00
simple_pass_count Test run Parallelism of 1 should not result in deadlock (#37292) 2025-07-07 09:44:32 +02:00
simple_pass_function Allow functions in test mock blocks (#37883) 2026-01-22 09:42:21 +01:00
simple_pass_nested testing framework: change test file extension to .tftest.hcl (#33553) 2023-07-20 16:57:05 +02:00
simple_pass_nested_alternate testing framework: change test file extension to .tftest.hcl (#33553) 2023-07-20 16:57:05 +02:00
simple_pass_very_nested testing framework: allow users to specify deeply nested testing directories (#33584) 2023-07-27 10:38:21 +02:00
skip_cleanup Implement controlling destroy functionality within Terraform Test (#37359) 2025-09-10 17:22:20 +02:00
skip_cleanup_simple Implement controlling destroy functionality within Terraform Test (#37359) 2025-09-10 17:22:20 +02:00
skip_cleanup_with_run_deps Implement controlling destroy functionality within Terraform Test (#37359) 2025-09-10 17:22:20 +02:00
skip_destroy_on_empty terraform test: skip destroy step for empty run blocks (#34331) 2023-11-30 16:38:23 +01:00
skip_file_cleanup Implement controlling destroy functionality within Terraform Test (#37359) 2025-09-10 17:22:20 +02:00
state_propagation Implement updates to testing framework based on recent feedback 2023-08-10 10:49:01 +02:00
tfvars_in_test_dir Add docs for automatic var files in test directories (#34349) 2023-12-06 08:10:45 +01:00
top-dir-only-nested-test-files Allow terraform init when only test files are present in directory (#36429) 2025-02-06 09:20:09 +01:00
top-dir-only-test-files Allow terraform init when only test files are present in directory (#36429) 2025-02-06 09:20:09 +01:00
unapplyable-plan Add test case to ensure no regression of already fixed crash (#36583) 2025-03-05 11:24:53 +01:00
undefined_variables test framework: expand variables available to test assertions (#33611) 2023-08-01 09:59:29 +02:00
unknown_value_in_assert Add additional validation around unknown and null values in test variables (#33861) 2023-09-14 09:44:21 +02:00
unknown_value_in_vars Add additional validation around unknown and null values in test variables (#33861) 2023-09-14 09:44:21 +02:00
valid-use-local-backend Implement controlling destroy functionality within Terraform Test (#37359) 2025-09-10 17:22:20 +02:00
variable_references terraform test: move variable evaluation into the terraform test graph (#37205) 2025-06-06 10:11:35 +02:00
variables testing framework: change test file extension to .tftest.hcl (#33553) 2023-07-20 16:57:05 +02:00
variables_types Allow referencing higher level variables from run blocks (#33722) 2023-08-24 16:15:22 +02:00
variables_undefined_in_config terraform test: allow providers in test files to reference variables (#34069) 2023-10-16 16:57:20 +02:00
with-default-variables terraform test: move variable evaluation into the terraform test graph (#37205) 2025-06-06 10:11:35 +02:00
with_double_interrupt testing framework: change test file extension to .tftest.hcl (#33553) 2023-07-20 16:57:05 +02:00
with_interrupt testing framework: change test file extension to .tftest.hcl (#33553) 2023-07-20 16:57:05 +02:00
with_interrupt_and_additional_file Test files should be marked as skipped if all their run blocks were skipped (#33950) 2023-09-28 13:49:14 +02:00
with_nested_setup_modules terraform test: fix crash when using nested modules from test run blocks (#33589) 2023-07-27 10:22:53 +02:00
with_provider_alias testing framework: change test file extension to .tftest.hcl (#33553) 2023-07-20 16:57:05 +02:00
with_setup_module testing framework: change test file extension to .tftest.hcl (#33553) 2023-07-20 16:57:05 +02:00
with_state_key feat: add state_key for test run blocks (#36185) 2025-01-16 10:34:47 +01:00
write-into-default-state terraform test: refactor graph edge calculation (#37357) 2025-07-23 16:09:45 +02:00
write-only-attributes write-only attributes: internal providers should set write-only attributes to null (#36824) 2025-04-02 15:58:42 +02:00
write-only-attributes-mocked write-only attributes: internal providers should set write-only attributes to null (#36824) 2025-04-02 15:58:42 +02:00
write-only-attributes-overridden write-only attributes: internal providers should set write-only attributes to null (#36824) 2025-04-02 15:58:42 +02:00