terraform/builtin/providers/test
James Bardin 0d2363a058 add tests to preserve existing Set nil behavior
While it may not be intuitive, providers expect that setting a `nil`
value will appear as an empty string in state.
2019-06-28 12:09:50 -04:00
..
data_source.go failing tests when using resources with count 2018-12-17 12:15:43 -05:00
data_source_label.go provider/test: allow assigning a label to each instance 2017-05-11 10:52:51 -07:00
data_source_label_test.go provider/test: allow assigning a label to each instance 2017-05-11 10:52:51 -07:00
data_source_test.go test to make sure a data source is planned 2019-05-03 16:25:37 -04:00
diff_apply_test.go remove SkipCoreTypeCheck and LegacySchema 2019-05-14 18:19:18 -04:00
provider.go core: Keep old value on error even for delete 2019-04-17 07:40:15 -07:00
provider_test.go core: Fix issues with ignore_changes 2016-03-21 14:20:36 -05:00
resource.go add tests to preserve existing Set nil behavior 2019-06-28 12:09:50 -04:00
resource_computed_set.go stop removing empty flatmap containers 2019-03-11 15:14:29 -04:00
resource_computed_set_test.go remove the partially-known ~ set sigil in diffs 2019-03-04 17:36:30 -05:00
resource_config_mode.go failing test for cty conversion bug 2019-05-16 16:40:17 -04:00
resource_config_mode_test.go failing test for cty conversion bug 2019-05-16 16:40:17 -04:00
resource_data_dep_test.go udpate test configs to work with hcl2 2018-10-16 19:14:54 -07:00
resource_dataproc_cluster_test.go add test for complex schema diff apply 2019-03-12 12:04:35 -04:00
resource_defaults.go add tests for nested default values 2019-01-17 18:51:18 -05:00
resource_defaults_test.go prevent an empty string from being lost 2019-06-19 17:42:00 -04:00
resource_deprecated.go add tests for deprecated/removed attrs 2019-01-12 10:41:04 -05:00
resource_deprecated_test.go add tests for deprecated/removed attrs 2019-01-12 10:41:04 -05:00
resource_diff_suppress.go computed value wasn't being set 2018-11-27 08:54:15 -05:00
resource_diff_suppress_test.go verify DiffSuppresFunc behavior 2018-11-16 11:17:23 -05:00
resource_force_new.go add provider tests for force-new with a map 2018-10-31 13:42:28 -04:00
resource_force_new_test.go add provider tests for force-new with a map 2018-10-31 13:42:28 -04:00
resource_gh12183.go helper/schema: Opt-in panic on invalid ResourceData.Set 2017-11-08 10:05:11 +00:00
resource_gh12183_test.go udpate test configs to work with hcl2 2018-10-16 19:14:54 -07:00
resource_import_other.go plugin: Use correct schema when marshaling imported resource objects 2019-02-01 15:22:54 -08:00
resource_import_other_test.go plugin: Use correct schema when marshaling imported resource objects 2019-02-01 15:22:54 -08:00
resource_import_removed.go helper/resource: Ignore Removed attributes for ImportStateVerify 2019-04-16 11:14:49 -07:00
resource_import_removed_test.go helper/resource: Ignore Removed attributes for ImportStateVerify 2019-04-16 11:14:49 -07:00
resource_list.go test for panic when readin empty map 2019-06-25 14:24:31 -04:00
resource_list_set.go add a trouble test schema from the aws provider 2019-02-13 19:09:46 -05:00
resource_list_set_test.go add a trouble test schema from the aws provider 2019-02-13 19:09:46 -05:00
resource_list_test.go test for panic when readin empty map 2019-06-25 14:24:31 -04:00
resource_map.go filter unknowns from simple lists and maps in sdk 2019-05-28 09:58:07 -04:00
resource_map_test.go filter unknowns from simple lists and maps in sdk 2019-05-28 09:58:07 -04:00
resource_nested.go add more tests for a computed nested list and set 2019-01-15 11:55:02 -05:00
resource_nested_id.go only force top-level id's back to unknown 2019-02-05 16:16:08 -05:00
resource_nested_id_test.go only force top-level id's back to unknown 2019-02-05 16:16:08 -05:00
resource_nested_set.go provider tests for empty values 2019-01-08 16:26:22 -05:00
resource_nested_set_test.go normalize empty blocks during import 2019-06-17 20:29:01 -04:00
resource_nested_test.go add more tests for a computed nested list and set 2019-01-15 11:55:02 -05:00
resource_state_func.go add test fetching computed set value by address 2019-04-10 09:42:54 -04:00
resource_state_func_test.go add test fetching computed set value by address 2019-04-10 09:42:54 -04:00
resource_test.go add tests to preserve existing Set nil behavior 2019-06-28 12:09:50 -04:00
resource_timeout.go add timeout tests to the test provider 2018-10-30 13:14:08 -04:00
resource_timeout_test.go add more timeout provider tests 2019-06-19 22:48:15 -04:00
resource_undeletable.go core: Keep old value on error even for delete 2019-04-17 07:40:15 -07:00
resource_with_custom_diff.go provider/test: Added complex-ish list testing 2017-11-01 14:25:32 -07:00
resource_with_custom_diff_test.go provider/test: Added complex-ish list testing 2017-11-01 14:25:32 -07:00
splat_flatten_test.go udpate test configs to work with hcl2 2018-10-16 19:14:54 -07:00