From a381fb55420a5aae76507fc7a7bdff663fcef40c Mon Sep 17 00:00:00 2001 From: Venelin Date: Tue, 7 Jan 2025 18:22:29 +0200 Subject: [PATCH] re-record tests --- .../list_attribute/added_empty.golden | 2 +- .../list_attribute/added_non-empty.golden | 2 +- .../list_attribute/removed_empty.golden | 1 + .../list_attribute/removed_non-empty.golden | 1 + .../list_attribute/unchanged_empty.golden | 10 +++++++--- .../list_attribute_force_new/added_empty.golden | 2 +- .../list_attribute_force_new/added_non-empty.golden | 2 +- .../list_attribute_force_new/removed_empty.golden | 1 + .../list_attribute_force_new/removed_non-empty.golden | 1 + .../list_attribute_force_new/unchanged_empty.golden | 10 +++++++--- .../list_block/added_empty.golden | 2 +- .../list_block/added_non-empty.golden | 2 +- .../list_block/removed_empty.golden | 1 + .../list_block/removed_non-empty.golden | 1 + .../list_block/unchanged_empty.golden | 10 +++++++--- .../list_block_force_new/added_empty.golden | 2 +- .../list_block_force_new/added_non-empty.golden | 2 +- .../list_block_force_new/removed_empty.golden | 1 + .../list_block_force_new/removed_non-empty.golden | 1 + .../list_block_force_new/unchanged_empty.golden | 10 +++++++--- .../list_block_nested_force_new/added_empty.golden | 2 +- .../list_block_nested_force_new/added_non-empty.golden | 2 +- .../list_block_nested_force_new/removed_empty.golden | 1 + .../removed_non-empty.golden | 1 + .../list_block_nested_force_new/unchanged_empty.golden | 10 +++++++--- .../max_items_one_attribute/added_empty.golden | 2 +- .../max_items_one_attribute/added_non-empty.golden | 2 +- .../max_items_one_attribute/removed_empty.golden | 1 + .../max_items_one_attribute/removed_non-empty.golden | 1 + .../max_items_one_attribute/unchanged_empty.golden | 10 +++++++--- .../added_empty.golden | 2 +- .../added_non-empty.golden | 2 +- .../removed_empty.golden | 1 + .../removed_non-empty.golden | 1 + .../unchanged_empty.golden | 10 +++++++--- .../max_items_one_block/added_empty.golden | 2 +- .../max_items_one_block/added_non-empty.golden | 2 +- .../max_items_one_block/removed_empty.golden | 1 + .../max_items_one_block/removed_non-empty.golden | 1 + .../max_items_one_block/unchanged_empty.golden | 10 +++++++--- .../max_items_one_block_force_new/added_empty.golden | 2 +- .../added_non-empty.golden | 2 +- .../max_items_one_block_force_new/removed_empty.golden | 1 + .../removed_non-empty.golden | 1 + .../unchanged_empty.golden | 10 +++++++--- .../added_empty.golden | 2 +- .../added_non-empty.golden | 2 +- .../removed_empty.golden | 1 + .../removed_non-empty.golden | 1 + .../unchanged_empty.golden | 10 +++++++--- .../attribute_force_new/changed_empty_to_null.golden | 1 + .../changed_non-null_to_null.golden | 1 + .../attribute_force_new/changed_null_to_empty.golden | 2 +- .../changed_null_to_non-null.golden | 2 +- .../attribute_force_new/unchanged_null.golden | 10 +++++++--- .../changed_empty_to_null.golden | 1 + .../changed_non-null_to_null.golden | 1 + .../changed_null_to_empty.golden | 2 +- .../changed_null_to_non-null.golden | 2 +- .../attribute_no_force_new/unchanged_null.golden | 10 +++++++--- .../changed_empty_to_null.golden | 1 + .../changed_non-null_to_null.golden | 1 + .../changed_null_to_empty.golden | 2 +- .../changed_null_to_non-null.golden | 2 +- .../block_nested_force_new/unchanged_null.golden | 10 +++++++--- .../block_no_force_new/changed_empty_to_null.golden | 1 + .../block_no_force_new/changed_non-null_to_null.golden | 1 + .../block_no_force_new/changed_null_to_empty.golden | 2 +- .../block_no_force_new/changed_null_to_non-null.golden | 2 +- .../block_no_force_new/unchanged_null.golden | 10 +++++++--- .../changed_empty_to_null.golden | 1 + .../changed_non-null_to_null.golden | 1 + .../changed_null_to_empty.golden | 2 +- .../changed_null_to_non-null.golden | 2 +- .../block_top_level_force_new/unchanged_null.golden | 10 +++++++--- .../changed_empty_to_null.golden | 1 + .../changed_non-null_to_null.golden | 1 + .../changed_null_to_empty.golden | 2 +- .../changed_null_to_non-null.golden | 2 +- .../computed_attribute_force_new/unchanged_null.golden | 10 +++++++--- .../changed_empty_to_null.golden | 1 + .../changed_non-null_to_null.golden | 1 + .../changed_null_to_empty.golden | 2 +- .../changed_null_to_non-null.golden | 2 +- .../unchanged_null.golden | 10 +++++++--- .../changed_empty_to_null.golden | 1 + .../changed_non-null_to_null.golden | 1 + .../changed_null_to_empty.golden | 2 +- .../changed_null_to_non-null.golden | 2 +- .../unchanged_null.golden | 10 +++++++--- .../changed_empty_to_null.golden | 1 + .../changed_non-null_to_null.golden | 1 + .../changed_null_to_empty.golden | 2 +- .../changed_null_to_non-null.golden | 2 +- .../unchanged_null.golden | 10 +++++++--- .../changed_empty_to_null.golden | 1 + .../changed_non-null_to_null.golden | 1 + .../changed_null_to_empty.golden | 2 +- .../changed_null_to_non-null.golden | 2 +- .../unchanged_null.golden | 10 +++++++--- .../changed_empty_to_null.golden | 1 + .../changed_non-null_to_null.golden | 1 + .../changed_null_to_empty.golden | 2 +- .../changed_null_to_non-null.golden | 2 +- .../unchanged_null.golden | 10 +++++++--- .../changed_empty_to_null.golden | 1 + .../changed_non-null_to_null.golden | 1 + .../changed_null_to_empty.golden | 2 +- .../changed_null_to_non-null.golden | 2 +- .../unchanged_null.golden | 10 +++++++--- .../changed_empty_to_null.golden | 1 + .../changed_non-null_to_null.golden | 1 + .../changed_null_to_empty.golden | 2 +- .../changed_null_to_non-null.golden | 2 +- .../unchanged_null.golden | 10 +++++++--- .../changed_empty_to_null.golden | 1 + .../changed_non-null_to_null.golden | 1 + .../changed_null_to_empty.golden | 2 +- .../changed_null_to_non-null.golden | 2 +- .../unchanged_null.golden | 10 +++++++--- .../changed_empty_to_null.golden | 1 + .../changed_non-null_to_null.golden | 1 + .../changed_null_to_empty.golden | 2 +- .../changed_null_to_non-null.golden | 2 +- .../unchanged_null.golden | 10 +++++++--- .../changed_empty_to_null.golden | 1 + .../changed_non-null_to_null.golden | 1 + .../changed_null_to_empty.golden | 2 +- .../changed_null_to_non-null.golden | 2 +- .../unchanged_null.golden | 10 +++++++--- .../changed_empty_to_null.golden | 1 + .../changed_non-null_to_null.golden | 1 + .../changed_null_to_empty.golden | 2 +- .../changed_null_to_non-null.golden | 2 +- .../unchanged_null.golden | 10 +++++++--- .../changed_empty_to_null.golden | 1 + .../changed_non-null_to_null.golden | 1 + .../changed_null_to_empty.golden | 2 +- .../changed_null_to_non-null.golden | 2 +- .../unchanged_null.golden | 10 +++++++--- .../changed_empty_to_null.golden | 1 + .../changed_non-null_to_null.golden | 1 + .../changed_null_to_empty.golden | 2 +- .../changed_null_to_non-null.golden | 2 +- .../unchanged_null.golden | 10 +++++++--- .../testdata/TestSDKv2DetailedDiffString/added.golden | 3 ++- .../TestSDKv2DetailedDiffString/removed.golden | 3 ++- .../TestSDKv2DetailedDiffString/unchanged_empty.golden | 10 +++++++--- 148 files changed, 330 insertions(+), 150 deletions(-) diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_attribute/added_empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_attribute/added_empty.golden index 9589fbdf0..5e63deeb2 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_attribute/added_empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_attribute/added_empty.golden @@ -1,5 +1,5 @@ tests.testOutput{ - changeValue: &[]string{}, + initialValue: nil, changeValue: &[]string{}, tfOut: ` No changes. Your infrastructure matches the configuration. diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_attribute/added_non-empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_attribute/added_non-empty.golden index f574065dc..cc4582fb5 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_attribute/added_non-empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_attribute/added_non-empty.golden @@ -1,5 +1,5 @@ tests.testOutput{ - changeValue: &[]string{ + initialValue: nil, changeValue: &[]string{ "val1", }, tfOut: ` diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_attribute/removed_empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_attribute/removed_empty.golden index 7bae19762..ffec138c1 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_attribute/removed_empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_attribute/removed_empty.golden @@ -1,5 +1,6 @@ tests.testOutput{ initialValue: &[]string{}, + changeValue: nil, tfOut: ` No changes. Your infrastructure matches the configuration. diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_attribute/removed_non-empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_attribute/removed_non-empty.golden index 91db7793b..a9aa282e9 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_attribute/removed_non-empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_attribute/removed_non-empty.golden @@ -2,6 +2,7 @@ tests.testOutput{ initialValue: &[]string{ "val1", }, + changeValue: nil, tfOut: ` Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_attribute/unchanged_empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_attribute/unchanged_empty.golden index a53fac34d..53d2a9794 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_attribute/unchanged_empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_attribute/unchanged_empty.golden @@ -1,11 +1,15 @@ -tests.testOutput{tfOut: ` +tests.testOutput{ + initialValue: nil, changeValue: nil, + tfOut: ` No changes. Your infrastructure matches the configuration. Terraform has compared your real infrastructure against your configuration and found no differences, so no changes are needed. -`, pulumiOut: `Previewing update (test): +`, + pulumiOut: `Previewing update (test): pulumi:pulumi:Stack: (same) [urn=urn:pulumi:test::project::pulumi:pulumi:Stack::project-test] Resources: 2 unchanged -`} +`, +} diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_attribute_force_new/added_empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_attribute_force_new/added_empty.golden index 9589fbdf0..5e63deeb2 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_attribute_force_new/added_empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_attribute_force_new/added_empty.golden @@ -1,5 +1,5 @@ tests.testOutput{ - changeValue: &[]string{}, + initialValue: nil, changeValue: &[]string{}, tfOut: ` No changes. Your infrastructure matches the configuration. diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_attribute_force_new/added_non-empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_attribute_force_new/added_non-empty.golden index cd609ef34..8170ba27d 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_attribute_force_new/added_non-empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_attribute_force_new/added_non-empty.golden @@ -1,5 +1,5 @@ tests.testOutput{ - changeValue: &[]string{ + initialValue: nil, changeValue: &[]string{ "val1", }, tfOut: ` diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_attribute_force_new/removed_empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_attribute_force_new/removed_empty.golden index 7bae19762..ffec138c1 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_attribute_force_new/removed_empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_attribute_force_new/removed_empty.golden @@ -1,5 +1,6 @@ tests.testOutput{ initialValue: &[]string{}, + changeValue: nil, tfOut: ` No changes. Your infrastructure matches the configuration. diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_attribute_force_new/removed_non-empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_attribute_force_new/removed_non-empty.golden index 68a7430f8..ca7b8c267 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_attribute_force_new/removed_non-empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_attribute_force_new/removed_non-empty.golden @@ -2,6 +2,7 @@ tests.testOutput{ initialValue: &[]string{ "val1", }, + changeValue: nil, tfOut: ` Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_attribute_force_new/unchanged_empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_attribute_force_new/unchanged_empty.golden index a53fac34d..53d2a9794 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_attribute_force_new/unchanged_empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_attribute_force_new/unchanged_empty.golden @@ -1,11 +1,15 @@ -tests.testOutput{tfOut: ` +tests.testOutput{ + initialValue: nil, changeValue: nil, + tfOut: ` No changes. Your infrastructure matches the configuration. Terraform has compared your real infrastructure against your configuration and found no differences, so no changes are needed. -`, pulumiOut: `Previewing update (test): +`, + pulumiOut: `Previewing update (test): pulumi:pulumi:Stack: (same) [urn=urn:pulumi:test::project::pulumi:pulumi:Stack::project-test] Resources: 2 unchanged -`} +`, +} diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_block/added_empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_block/added_empty.golden index 9589fbdf0..5e63deeb2 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_block/added_empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_block/added_empty.golden @@ -1,5 +1,5 @@ tests.testOutput{ - changeValue: &[]string{}, + initialValue: nil, changeValue: &[]string{}, tfOut: ` No changes. Your infrastructure matches the configuration. diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_block/added_non-empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_block/added_non-empty.golden index 303139674..d14312512 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_block/added_non-empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_block/added_non-empty.golden @@ -1,5 +1,5 @@ tests.testOutput{ - changeValue: &[]string{ + initialValue: nil, changeValue: &[]string{ "val1", }, tfOut: ` diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_block/removed_empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_block/removed_empty.golden index 7bae19762..ffec138c1 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_block/removed_empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_block/removed_empty.golden @@ -1,5 +1,6 @@ tests.testOutput{ initialValue: &[]string{}, + changeValue: nil, tfOut: ` No changes. Your infrastructure matches the configuration. diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_block/removed_non-empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_block/removed_non-empty.golden index 59f844e2b..2a5627b74 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_block/removed_non-empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_block/removed_non-empty.golden @@ -2,6 +2,7 @@ tests.testOutput{ initialValue: &[]string{ "val1", }, + changeValue: nil, tfOut: ` Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_block/unchanged_empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_block/unchanged_empty.golden index a53fac34d..53d2a9794 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_block/unchanged_empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_block/unchanged_empty.golden @@ -1,11 +1,15 @@ -tests.testOutput{tfOut: ` +tests.testOutput{ + initialValue: nil, changeValue: nil, + tfOut: ` No changes. Your infrastructure matches the configuration. Terraform has compared your real infrastructure against your configuration and found no differences, so no changes are needed. -`, pulumiOut: `Previewing update (test): +`, + pulumiOut: `Previewing update (test): pulumi:pulumi:Stack: (same) [urn=urn:pulumi:test::project::pulumi:pulumi:Stack::project-test] Resources: 2 unchanged -`} +`, +} diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_block_force_new/added_empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_block_force_new/added_empty.golden index 9589fbdf0..5e63deeb2 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_block_force_new/added_empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_block_force_new/added_empty.golden @@ -1,5 +1,5 @@ tests.testOutput{ - changeValue: &[]string{}, + initialValue: nil, changeValue: &[]string{}, tfOut: ` No changes. Your infrastructure matches the configuration. diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_block_force_new/added_non-empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_block_force_new/added_non-empty.golden index 83661c298..ecf8be3f2 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_block_force_new/added_non-empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_block_force_new/added_non-empty.golden @@ -1,5 +1,5 @@ tests.testOutput{ - changeValue: &[]string{ + initialValue: nil, changeValue: &[]string{ "val1", }, tfOut: ` diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_block_force_new/removed_empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_block_force_new/removed_empty.golden index 7bae19762..ffec138c1 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_block_force_new/removed_empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_block_force_new/removed_empty.golden @@ -1,5 +1,6 @@ tests.testOutput{ initialValue: &[]string{}, + changeValue: nil, tfOut: ` No changes. Your infrastructure matches the configuration. diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_block_force_new/removed_non-empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_block_force_new/removed_non-empty.golden index 9379b5e65..84b83a363 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_block_force_new/removed_non-empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_block_force_new/removed_non-empty.golden @@ -2,6 +2,7 @@ tests.testOutput{ initialValue: &[]string{ "val1", }, + changeValue: nil, tfOut: ` Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_block_force_new/unchanged_empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_block_force_new/unchanged_empty.golden index a53fac34d..53d2a9794 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_block_force_new/unchanged_empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_block_force_new/unchanged_empty.golden @@ -1,11 +1,15 @@ -tests.testOutput{tfOut: ` +tests.testOutput{ + initialValue: nil, changeValue: nil, + tfOut: ` No changes. Your infrastructure matches the configuration. Terraform has compared your real infrastructure against your configuration and found no differences, so no changes are needed. -`, pulumiOut: `Previewing update (test): +`, + pulumiOut: `Previewing update (test): pulumi:pulumi:Stack: (same) [urn=urn:pulumi:test::project::pulumi:pulumi:Stack::project-test] Resources: 2 unchanged -`} +`, +} diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_block_nested_force_new/added_empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_block_nested_force_new/added_empty.golden index 9589fbdf0..5e63deeb2 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_block_nested_force_new/added_empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_block_nested_force_new/added_empty.golden @@ -1,5 +1,5 @@ tests.testOutput{ - changeValue: &[]string{}, + initialValue: nil, changeValue: &[]string{}, tfOut: ` No changes. Your infrastructure matches the configuration. diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_block_nested_force_new/added_non-empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_block_nested_force_new/added_non-empty.golden index d6e44e7cd..c74107103 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_block_nested_force_new/added_non-empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_block_nested_force_new/added_non-empty.golden @@ -1,5 +1,5 @@ tests.testOutput{ - changeValue: &[]string{ + initialValue: nil, changeValue: &[]string{ "val1", }, tfOut: ` diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_block_nested_force_new/removed_empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_block_nested_force_new/removed_empty.golden index 7bae19762..ffec138c1 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_block_nested_force_new/removed_empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_block_nested_force_new/removed_empty.golden @@ -1,5 +1,6 @@ tests.testOutput{ initialValue: &[]string{}, + changeValue: nil, tfOut: ` No changes. Your infrastructure matches the configuration. diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_block_nested_force_new/removed_non-empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_block_nested_force_new/removed_non-empty.golden index f28fcaa04..6dffd4945 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_block_nested_force_new/removed_non-empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_block_nested_force_new/removed_non-empty.golden @@ -2,6 +2,7 @@ tests.testOutput{ initialValue: &[]string{ "val1", }, + changeValue: nil, tfOut: ` Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_block_nested_force_new/unchanged_empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_block_nested_force_new/unchanged_empty.golden index a53fac34d..53d2a9794 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_block_nested_force_new/unchanged_empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/list_block_nested_force_new/unchanged_empty.golden @@ -1,11 +1,15 @@ -tests.testOutput{tfOut: ` +tests.testOutput{ + initialValue: nil, changeValue: nil, + tfOut: ` No changes. Your infrastructure matches the configuration. Terraform has compared your real infrastructure against your configuration and found no differences, so no changes are needed. -`, pulumiOut: `Previewing update (test): +`, + pulumiOut: `Previewing update (test): pulumi:pulumi:Stack: (same) [urn=urn:pulumi:test::project::pulumi:pulumi:Stack::project-test] Resources: 2 unchanged -`} +`, +} diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_attribute/added_empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_attribute/added_empty.golden index 9589fbdf0..5e63deeb2 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_attribute/added_empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_attribute/added_empty.golden @@ -1,5 +1,5 @@ tests.testOutput{ - changeValue: &[]string{}, + initialValue: nil, changeValue: &[]string{}, tfOut: ` No changes. Your infrastructure matches the configuration. diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_attribute/added_non-empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_attribute/added_non-empty.golden index 89350bb88..661f5f39d 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_attribute/added_non-empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_attribute/added_non-empty.golden @@ -1,5 +1,5 @@ tests.testOutput{ - changeValue: &[]string{ + initialValue: nil, changeValue: &[]string{ "val1", }, tfOut: ` diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_attribute/removed_empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_attribute/removed_empty.golden index 7bae19762..ffec138c1 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_attribute/removed_empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_attribute/removed_empty.golden @@ -1,5 +1,6 @@ tests.testOutput{ initialValue: &[]string{}, + changeValue: nil, tfOut: ` No changes. Your infrastructure matches the configuration. diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_attribute/removed_non-empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_attribute/removed_non-empty.golden index 26e9a05e7..15c39bcdb 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_attribute/removed_non-empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_attribute/removed_non-empty.golden @@ -2,6 +2,7 @@ tests.testOutput{ initialValue: &[]string{ "val1", }, + changeValue: nil, tfOut: ` Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_attribute/unchanged_empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_attribute/unchanged_empty.golden index a53fac34d..53d2a9794 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_attribute/unchanged_empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_attribute/unchanged_empty.golden @@ -1,11 +1,15 @@ -tests.testOutput{tfOut: ` +tests.testOutput{ + initialValue: nil, changeValue: nil, + tfOut: ` No changes. Your infrastructure matches the configuration. Terraform has compared your real infrastructure against your configuration and found no differences, so no changes are needed. -`, pulumiOut: `Previewing update (test): +`, + pulumiOut: `Previewing update (test): pulumi:pulumi:Stack: (same) [urn=urn:pulumi:test::project::pulumi:pulumi:Stack::project-test] Resources: 2 unchanged -`} +`, +} diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_attribute_force_new/added_empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_attribute_force_new/added_empty.golden index 9589fbdf0..5e63deeb2 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_attribute_force_new/added_empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_attribute_force_new/added_empty.golden @@ -1,5 +1,5 @@ tests.testOutput{ - changeValue: &[]string{}, + initialValue: nil, changeValue: &[]string{}, tfOut: ` No changes. Your infrastructure matches the configuration. diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_attribute_force_new/added_non-empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_attribute_force_new/added_non-empty.golden index 86534e8c0..d723166c6 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_attribute_force_new/added_non-empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_attribute_force_new/added_non-empty.golden @@ -1,5 +1,5 @@ tests.testOutput{ - changeValue: &[]string{ + initialValue: nil, changeValue: &[]string{ "val1", }, tfOut: ` diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_attribute_force_new/removed_empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_attribute_force_new/removed_empty.golden index 7bae19762..ffec138c1 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_attribute_force_new/removed_empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_attribute_force_new/removed_empty.golden @@ -1,5 +1,6 @@ tests.testOutput{ initialValue: &[]string{}, + changeValue: nil, tfOut: ` No changes. Your infrastructure matches the configuration. diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_attribute_force_new/removed_non-empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_attribute_force_new/removed_non-empty.golden index 3db772324..05968b455 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_attribute_force_new/removed_non-empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_attribute_force_new/removed_non-empty.golden @@ -2,6 +2,7 @@ tests.testOutput{ initialValue: &[]string{ "val1", }, + changeValue: nil, tfOut: ` Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_attribute_force_new/unchanged_empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_attribute_force_new/unchanged_empty.golden index a53fac34d..53d2a9794 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_attribute_force_new/unchanged_empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_attribute_force_new/unchanged_empty.golden @@ -1,11 +1,15 @@ -tests.testOutput{tfOut: ` +tests.testOutput{ + initialValue: nil, changeValue: nil, + tfOut: ` No changes. Your infrastructure matches the configuration. Terraform has compared your real infrastructure against your configuration and found no differences, so no changes are needed. -`, pulumiOut: `Previewing update (test): +`, + pulumiOut: `Previewing update (test): pulumi:pulumi:Stack: (same) [urn=urn:pulumi:test::project::pulumi:pulumi:Stack::project-test] Resources: 2 unchanged -`} +`, +} diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_block/added_empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_block/added_empty.golden index 9589fbdf0..5e63deeb2 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_block/added_empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_block/added_empty.golden @@ -1,5 +1,5 @@ tests.testOutput{ - changeValue: &[]string{}, + initialValue: nil, changeValue: &[]string{}, tfOut: ` No changes. Your infrastructure matches the configuration. diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_block/added_non-empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_block/added_non-empty.golden index c81e0e1f0..2f8be6dc0 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_block/added_non-empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_block/added_non-empty.golden @@ -1,5 +1,5 @@ tests.testOutput{ - changeValue: &[]string{ + initialValue: nil, changeValue: &[]string{ "val1", }, tfOut: ` diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_block/removed_empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_block/removed_empty.golden index 7bae19762..ffec138c1 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_block/removed_empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_block/removed_empty.golden @@ -1,5 +1,6 @@ tests.testOutput{ initialValue: &[]string{}, + changeValue: nil, tfOut: ` No changes. Your infrastructure matches the configuration. diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_block/removed_non-empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_block/removed_non-empty.golden index fbc5e67f8..9063a0ce3 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_block/removed_non-empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_block/removed_non-empty.golden @@ -2,6 +2,7 @@ tests.testOutput{ initialValue: &[]string{ "val1", }, + changeValue: nil, tfOut: ` Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_block/unchanged_empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_block/unchanged_empty.golden index a53fac34d..53d2a9794 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_block/unchanged_empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_block/unchanged_empty.golden @@ -1,11 +1,15 @@ -tests.testOutput{tfOut: ` +tests.testOutput{ + initialValue: nil, changeValue: nil, + tfOut: ` No changes. Your infrastructure matches the configuration. Terraform has compared your real infrastructure against your configuration and found no differences, so no changes are needed. -`, pulumiOut: `Previewing update (test): +`, + pulumiOut: `Previewing update (test): pulumi:pulumi:Stack: (same) [urn=urn:pulumi:test::project::pulumi:pulumi:Stack::project-test] Resources: 2 unchanged -`} +`, +} diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_block_force_new/added_empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_block_force_new/added_empty.golden index 9589fbdf0..5e63deeb2 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_block_force_new/added_empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_block_force_new/added_empty.golden @@ -1,5 +1,5 @@ tests.testOutput{ - changeValue: &[]string{}, + initialValue: nil, changeValue: &[]string{}, tfOut: ` No changes. Your infrastructure matches the configuration. diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_block_force_new/added_non-empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_block_force_new/added_non-empty.golden index d499d6b10..b2c1d79f9 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_block_force_new/added_non-empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_block_force_new/added_non-empty.golden @@ -1,5 +1,5 @@ tests.testOutput{ - changeValue: &[]string{ + initialValue: nil, changeValue: &[]string{ "val1", }, tfOut: ` diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_block_force_new/removed_empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_block_force_new/removed_empty.golden index 7bae19762..ffec138c1 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_block_force_new/removed_empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_block_force_new/removed_empty.golden @@ -1,5 +1,6 @@ tests.testOutput{ initialValue: &[]string{}, + changeValue: nil, tfOut: ` No changes. Your infrastructure matches the configuration. diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_block_force_new/removed_non-empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_block_force_new/removed_non-empty.golden index 75e5fd209..45a9b35e7 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_block_force_new/removed_non-empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_block_force_new/removed_non-empty.golden @@ -2,6 +2,7 @@ tests.testOutput{ initialValue: &[]string{ "val1", }, + changeValue: nil, tfOut: ` Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_block_force_new/unchanged_empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_block_force_new/unchanged_empty.golden index a53fac34d..53d2a9794 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_block_force_new/unchanged_empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_block_force_new/unchanged_empty.golden @@ -1,11 +1,15 @@ -tests.testOutput{tfOut: ` +tests.testOutput{ + initialValue: nil, changeValue: nil, + tfOut: ` No changes. Your infrastructure matches the configuration. Terraform has compared your real infrastructure against your configuration and found no differences, so no changes are needed. -`, pulumiOut: `Previewing update (test): +`, + pulumiOut: `Previewing update (test): pulumi:pulumi:Stack: (same) [urn=urn:pulumi:test::project::pulumi:pulumi:Stack::project-test] Resources: 2 unchanged -`} +`, +} diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_block_nested_force_new/added_empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_block_nested_force_new/added_empty.golden index 9589fbdf0..5e63deeb2 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_block_nested_force_new/added_empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_block_nested_force_new/added_empty.golden @@ -1,5 +1,5 @@ tests.testOutput{ - changeValue: &[]string{}, + initialValue: nil, changeValue: &[]string{}, tfOut: ` No changes. Your infrastructure matches the configuration. diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_block_nested_force_new/added_non-empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_block_nested_force_new/added_non-empty.golden index 0048a8175..abd5e5e7b 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_block_nested_force_new/added_non-empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_block_nested_force_new/added_non-empty.golden @@ -1,5 +1,5 @@ tests.testOutput{ - changeValue: &[]string{ + initialValue: nil, changeValue: &[]string{ "val1", }, tfOut: ` diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_block_nested_force_new/removed_empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_block_nested_force_new/removed_empty.golden index 7bae19762..ffec138c1 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_block_nested_force_new/removed_empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_block_nested_force_new/removed_empty.golden @@ -1,5 +1,6 @@ tests.testOutput{ initialValue: &[]string{}, + changeValue: nil, tfOut: ` No changes. Your infrastructure matches the configuration. diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_block_nested_force_new/removed_non-empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_block_nested_force_new/removed_non-empty.golden index 4993e76cf..7813d1daf 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_block_nested_force_new/removed_non-empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_block_nested_force_new/removed_non-empty.golden @@ -2,6 +2,7 @@ tests.testOutput{ initialValue: &[]string{ "val1", }, + changeValue: nil, tfOut: ` Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_block_nested_force_new/unchanged_empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_block_nested_force_new/unchanged_empty.golden index a53fac34d..53d2a9794 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_block_nested_force_new/unchanged_empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffList/max_items_one_block_nested_force_new/unchanged_empty.golden @@ -1,11 +1,15 @@ -tests.testOutput{tfOut: ` +tests.testOutput{ + initialValue: nil, changeValue: nil, + tfOut: ` No changes. Your infrastructure matches the configuration. Terraform has compared your real infrastructure against your configuration and found no differences, so no changes are needed. -`, pulumiOut: `Previewing update (test): +`, + pulumiOut: `Previewing update (test): pulumi:pulumi:Stack: (same) [urn=urn:pulumi:test::project::pulumi:pulumi:Stack::project-test] Resources: 2 unchanged -`} +`, +} diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetAttribute/attribute_force_new/changed_empty_to_null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetAttribute/attribute_force_new/changed_empty_to_null.golden index 7bae19762..ffec138c1 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetAttribute/attribute_force_new/changed_empty_to_null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetAttribute/attribute_force_new/changed_empty_to_null.golden @@ -1,5 +1,6 @@ tests.testOutput{ initialValue: &[]string{}, + changeValue: nil, tfOut: ` No changes. Your infrastructure matches the configuration. diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetAttribute/attribute_force_new/changed_non-null_to_null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetAttribute/attribute_force_new/changed_non-null_to_null.golden index c02fa1588..44d418dc4 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetAttribute/attribute_force_new/changed_non-null_to_null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetAttribute/attribute_force_new/changed_non-null_to_null.golden @@ -2,6 +2,7 @@ tests.testOutput{ initialValue: &[]string{ "value", }, + changeValue: nil, tfOut: ` Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetAttribute/attribute_force_new/changed_null_to_empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetAttribute/attribute_force_new/changed_null_to_empty.golden index 9589fbdf0..5e63deeb2 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetAttribute/attribute_force_new/changed_null_to_empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetAttribute/attribute_force_new/changed_null_to_empty.golden @@ -1,5 +1,5 @@ tests.testOutput{ - changeValue: &[]string{}, + initialValue: nil, changeValue: &[]string{}, tfOut: ` No changes. Your infrastructure matches the configuration. diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetAttribute/attribute_force_new/changed_null_to_non-null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetAttribute/attribute_force_new/changed_null_to_non-null.golden index 6bbad6a19..f3a83bf35 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetAttribute/attribute_force_new/changed_null_to_non-null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetAttribute/attribute_force_new/changed_null_to_non-null.golden @@ -1,5 +1,5 @@ tests.testOutput{ - changeValue: &[]string{ + initialValue: nil, changeValue: &[]string{ "value", }, tfOut: ` diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetAttribute/attribute_force_new/unchanged_null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetAttribute/attribute_force_new/unchanged_null.golden index a53fac34d..53d2a9794 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetAttribute/attribute_force_new/unchanged_null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetAttribute/attribute_force_new/unchanged_null.golden @@ -1,11 +1,15 @@ -tests.testOutput{tfOut: ` +tests.testOutput{ + initialValue: nil, changeValue: nil, + tfOut: ` No changes. Your infrastructure matches the configuration. Terraform has compared your real infrastructure against your configuration and found no differences, so no changes are needed. -`, pulumiOut: `Previewing update (test): +`, + pulumiOut: `Previewing update (test): pulumi:pulumi:Stack: (same) [urn=urn:pulumi:test::project::pulumi:pulumi:Stack::project-test] Resources: 2 unchanged -`} +`, +} diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetAttribute/attribute_no_force_new/changed_empty_to_null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetAttribute/attribute_no_force_new/changed_empty_to_null.golden index 7bae19762..ffec138c1 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetAttribute/attribute_no_force_new/changed_empty_to_null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetAttribute/attribute_no_force_new/changed_empty_to_null.golden @@ -1,5 +1,6 @@ tests.testOutput{ initialValue: &[]string{}, + changeValue: nil, tfOut: ` No changes. Your infrastructure matches the configuration. diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetAttribute/attribute_no_force_new/changed_non-null_to_null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetAttribute/attribute_no_force_new/changed_non-null_to_null.golden index 0ada410e4..2f350afc8 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetAttribute/attribute_no_force_new/changed_non-null_to_null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetAttribute/attribute_no_force_new/changed_non-null_to_null.golden @@ -2,6 +2,7 @@ tests.testOutput{ initialValue: &[]string{ "value", }, + changeValue: nil, tfOut: ` Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetAttribute/attribute_no_force_new/changed_null_to_empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetAttribute/attribute_no_force_new/changed_null_to_empty.golden index 9589fbdf0..5e63deeb2 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetAttribute/attribute_no_force_new/changed_null_to_empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetAttribute/attribute_no_force_new/changed_null_to_empty.golden @@ -1,5 +1,5 @@ tests.testOutput{ - changeValue: &[]string{}, + initialValue: nil, changeValue: &[]string{}, tfOut: ` No changes. Your infrastructure matches the configuration. diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetAttribute/attribute_no_force_new/changed_null_to_non-null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetAttribute/attribute_no_force_new/changed_null_to_non-null.golden index a9052b77e..4a5c04e3f 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetAttribute/attribute_no_force_new/changed_null_to_non-null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetAttribute/attribute_no_force_new/changed_null_to_non-null.golden @@ -1,5 +1,5 @@ tests.testOutput{ - changeValue: &[]string{ + initialValue: nil, changeValue: &[]string{ "value", }, tfOut: ` diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetAttribute/attribute_no_force_new/unchanged_null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetAttribute/attribute_no_force_new/unchanged_null.golden index a53fac34d..53d2a9794 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetAttribute/attribute_no_force_new/unchanged_null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetAttribute/attribute_no_force_new/unchanged_null.golden @@ -1,11 +1,15 @@ -tests.testOutput{tfOut: ` +tests.testOutput{ + initialValue: nil, changeValue: nil, + tfOut: ` No changes. Your infrastructure matches the configuration. Terraform has compared your real infrastructure against your configuration and found no differences, so no changes are needed. -`, pulumiOut: `Previewing update (test): +`, + pulumiOut: `Previewing update (test): pulumi:pulumi:Stack: (same) [urn=urn:pulumi:test::project::pulumi:pulumi:Stack::project-test] Resources: 2 unchanged -`} +`, +} diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetBlock/block_nested_force_new/changed_empty_to_null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetBlock/block_nested_force_new/changed_empty_to_null.golden index 7bae19762..ffec138c1 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetBlock/block_nested_force_new/changed_empty_to_null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetBlock/block_nested_force_new/changed_empty_to_null.golden @@ -1,5 +1,6 @@ tests.testOutput{ initialValue: &[]string{}, + changeValue: nil, tfOut: ` No changes. Your infrastructure matches the configuration. diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetBlock/block_nested_force_new/changed_non-null_to_null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetBlock/block_nested_force_new/changed_non-null_to_null.golden index 8ea0f409e..bf5a2743d 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetBlock/block_nested_force_new/changed_non-null_to_null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetBlock/block_nested_force_new/changed_non-null_to_null.golden @@ -2,6 +2,7 @@ tests.testOutput{ initialValue: &[]string{ "value", }, + changeValue: nil, tfOut: ` Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetBlock/block_nested_force_new/changed_null_to_empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetBlock/block_nested_force_new/changed_null_to_empty.golden index 9589fbdf0..5e63deeb2 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetBlock/block_nested_force_new/changed_null_to_empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetBlock/block_nested_force_new/changed_null_to_empty.golden @@ -1,5 +1,5 @@ tests.testOutput{ - changeValue: &[]string{}, + initialValue: nil, changeValue: &[]string{}, tfOut: ` No changes. Your infrastructure matches the configuration. diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetBlock/block_nested_force_new/changed_null_to_non-null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetBlock/block_nested_force_new/changed_null_to_non-null.golden index c6125570d..be8da24df 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetBlock/block_nested_force_new/changed_null_to_non-null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetBlock/block_nested_force_new/changed_null_to_non-null.golden @@ -1,5 +1,5 @@ tests.testOutput{ - changeValue: &[]string{ + initialValue: nil, changeValue: &[]string{ "value", }, tfOut: ` diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetBlock/block_nested_force_new/unchanged_null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetBlock/block_nested_force_new/unchanged_null.golden index a53fac34d..53d2a9794 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetBlock/block_nested_force_new/unchanged_null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetBlock/block_nested_force_new/unchanged_null.golden @@ -1,11 +1,15 @@ -tests.testOutput{tfOut: ` +tests.testOutput{ + initialValue: nil, changeValue: nil, + tfOut: ` No changes. Your infrastructure matches the configuration. Terraform has compared your real infrastructure against your configuration and found no differences, so no changes are needed. -`, pulumiOut: `Previewing update (test): +`, + pulumiOut: `Previewing update (test): pulumi:pulumi:Stack: (same) [urn=urn:pulumi:test::project::pulumi:pulumi:Stack::project-test] Resources: 2 unchanged -`} +`, +} diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetBlock/block_no_force_new/changed_empty_to_null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetBlock/block_no_force_new/changed_empty_to_null.golden index 7bae19762..ffec138c1 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetBlock/block_no_force_new/changed_empty_to_null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetBlock/block_no_force_new/changed_empty_to_null.golden @@ -1,5 +1,6 @@ tests.testOutput{ initialValue: &[]string{}, + changeValue: nil, tfOut: ` No changes. Your infrastructure matches the configuration. diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetBlock/block_no_force_new/changed_non-null_to_null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetBlock/block_no_force_new/changed_non-null_to_null.golden index 67fd5c982..7855506e3 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetBlock/block_no_force_new/changed_non-null_to_null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetBlock/block_no_force_new/changed_non-null_to_null.golden @@ -2,6 +2,7 @@ tests.testOutput{ initialValue: &[]string{ "value", }, + changeValue: nil, tfOut: ` Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetBlock/block_no_force_new/changed_null_to_empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetBlock/block_no_force_new/changed_null_to_empty.golden index 9589fbdf0..5e63deeb2 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetBlock/block_no_force_new/changed_null_to_empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetBlock/block_no_force_new/changed_null_to_empty.golden @@ -1,5 +1,5 @@ tests.testOutput{ - changeValue: &[]string{}, + initialValue: nil, changeValue: &[]string{}, tfOut: ` No changes. Your infrastructure matches the configuration. diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetBlock/block_no_force_new/changed_null_to_non-null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetBlock/block_no_force_new/changed_null_to_non-null.golden index aa54e19da..8f9f0bd5f 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetBlock/block_no_force_new/changed_null_to_non-null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetBlock/block_no_force_new/changed_null_to_non-null.golden @@ -1,5 +1,5 @@ tests.testOutput{ - changeValue: &[]string{ + initialValue: nil, changeValue: &[]string{ "value", }, tfOut: ` diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetBlock/block_no_force_new/unchanged_null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetBlock/block_no_force_new/unchanged_null.golden index a53fac34d..53d2a9794 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetBlock/block_no_force_new/unchanged_null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetBlock/block_no_force_new/unchanged_null.golden @@ -1,11 +1,15 @@ -tests.testOutput{tfOut: ` +tests.testOutput{ + initialValue: nil, changeValue: nil, + tfOut: ` No changes. Your infrastructure matches the configuration. Terraform has compared your real infrastructure against your configuration and found no differences, so no changes are needed. -`, pulumiOut: `Previewing update (test): +`, + pulumiOut: `Previewing update (test): pulumi:pulumi:Stack: (same) [urn=urn:pulumi:test::project::pulumi:pulumi:Stack::project-test] Resources: 2 unchanged -`} +`, +} diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetBlock/block_top_level_force_new/changed_empty_to_null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetBlock/block_top_level_force_new/changed_empty_to_null.golden index 7bae19762..ffec138c1 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetBlock/block_top_level_force_new/changed_empty_to_null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetBlock/block_top_level_force_new/changed_empty_to_null.golden @@ -1,5 +1,6 @@ tests.testOutput{ initialValue: &[]string{}, + changeValue: nil, tfOut: ` No changes. Your infrastructure matches the configuration. diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetBlock/block_top_level_force_new/changed_non-null_to_null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetBlock/block_top_level_force_new/changed_non-null_to_null.golden index 8ea0f409e..bf5a2743d 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetBlock/block_top_level_force_new/changed_non-null_to_null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetBlock/block_top_level_force_new/changed_non-null_to_null.golden @@ -2,6 +2,7 @@ tests.testOutput{ initialValue: &[]string{ "value", }, + changeValue: nil, tfOut: ` Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetBlock/block_top_level_force_new/changed_null_to_empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetBlock/block_top_level_force_new/changed_null_to_empty.golden index 9589fbdf0..5e63deeb2 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetBlock/block_top_level_force_new/changed_null_to_empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetBlock/block_top_level_force_new/changed_null_to_empty.golden @@ -1,5 +1,5 @@ tests.testOutput{ - changeValue: &[]string{}, + initialValue: nil, changeValue: &[]string{}, tfOut: ` No changes. Your infrastructure matches the configuration. diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetBlock/block_top_level_force_new/changed_null_to_non-null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetBlock/block_top_level_force_new/changed_null_to_non-null.golden index c6125570d..be8da24df 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetBlock/block_top_level_force_new/changed_null_to_non-null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetBlock/block_top_level_force_new/changed_null_to_non-null.golden @@ -1,5 +1,5 @@ tests.testOutput{ - changeValue: &[]string{ + initialValue: nil, changeValue: &[]string{ "value", }, tfOut: ` diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetBlock/block_top_level_force_new/unchanged_null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetBlock/block_top_level_force_new/unchanged_null.golden index a53fac34d..53d2a9794 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetBlock/block_top_level_force_new/unchanged_null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetBlock/block_top_level_force_new/unchanged_null.golden @@ -1,11 +1,15 @@ -tests.testOutput{tfOut: ` +tests.testOutput{ + initialValue: nil, changeValue: nil, + tfOut: ` No changes. Your infrastructure matches the configuration. Terraform has compared your real infrastructure against your configuration and found no differences, so no changes are needed. -`, pulumiOut: `Previewing update (test): +`, + pulumiOut: `Previewing update (test): pulumi:pulumi:Stack: (same) [urn=urn:pulumi:test::project::pulumi:pulumi:Stack::project-test] Resources: 2 unchanged -`} +`, +} diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedAttribute/computed_attribute_force_new/changed_empty_to_null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedAttribute/computed_attribute_force_new/changed_empty_to_null.golden index 7bae19762..ffec138c1 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedAttribute/computed_attribute_force_new/changed_empty_to_null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedAttribute/computed_attribute_force_new/changed_empty_to_null.golden @@ -1,5 +1,6 @@ tests.testOutput{ initialValue: &[]string{}, + changeValue: nil, tfOut: ` No changes. Your infrastructure matches the configuration. diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedAttribute/computed_attribute_force_new/changed_non-null_to_null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedAttribute/computed_attribute_force_new/changed_non-null_to_null.golden index eff89843a..bdf6703fb 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedAttribute/computed_attribute_force_new/changed_non-null_to_null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedAttribute/computed_attribute_force_new/changed_non-null_to_null.golden @@ -2,6 +2,7 @@ tests.testOutput{ initialValue: &[]string{ "value", }, + changeValue: nil, tfOut: ` No changes. Your infrastructure matches the configuration. diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedAttribute/computed_attribute_force_new/changed_null_to_empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedAttribute/computed_attribute_force_new/changed_null_to_empty.golden index 9589fbdf0..5e63deeb2 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedAttribute/computed_attribute_force_new/changed_null_to_empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedAttribute/computed_attribute_force_new/changed_null_to_empty.golden @@ -1,5 +1,5 @@ tests.testOutput{ - changeValue: &[]string{}, + initialValue: nil, changeValue: &[]string{}, tfOut: ` No changes. Your infrastructure matches the configuration. diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedAttribute/computed_attribute_force_new/changed_null_to_non-null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedAttribute/computed_attribute_force_new/changed_null_to_non-null.golden index e16ea5c7e..504ff6160 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedAttribute/computed_attribute_force_new/changed_null_to_non-null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedAttribute/computed_attribute_force_new/changed_null_to_non-null.golden @@ -1,5 +1,5 @@ tests.testOutput{ - changeValue: &[]string{ + initialValue: nil, changeValue: &[]string{ "value", }, tfOut: ` diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedAttribute/computed_attribute_force_new/unchanged_null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedAttribute/computed_attribute_force_new/unchanged_null.golden index a53fac34d..53d2a9794 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedAttribute/computed_attribute_force_new/unchanged_null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedAttribute/computed_attribute_force_new/unchanged_null.golden @@ -1,11 +1,15 @@ -tests.testOutput{tfOut: ` +tests.testOutput{ + initialValue: nil, changeValue: nil, + tfOut: ` No changes. Your infrastructure matches the configuration. Terraform has compared your real infrastructure against your configuration and found no differences, so no changes are needed. -`, pulumiOut: `Previewing update (test): +`, + pulumiOut: `Previewing update (test): pulumi:pulumi:Stack: (same) [urn=urn:pulumi:test::project::pulumi:pulumi:Stack::project-test] Resources: 2 unchanged -`} +`, +} diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedAttribute/computed_attribute_no_force_new/changed_empty_to_null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedAttribute/computed_attribute_no_force_new/changed_empty_to_null.golden index 7bae19762..ffec138c1 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedAttribute/computed_attribute_no_force_new/changed_empty_to_null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedAttribute/computed_attribute_no_force_new/changed_empty_to_null.golden @@ -1,5 +1,6 @@ tests.testOutput{ initialValue: &[]string{}, + changeValue: nil, tfOut: ` No changes. Your infrastructure matches the configuration. diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedAttribute/computed_attribute_no_force_new/changed_non-null_to_null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedAttribute/computed_attribute_no_force_new/changed_non-null_to_null.golden index eff89843a..bdf6703fb 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedAttribute/computed_attribute_no_force_new/changed_non-null_to_null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedAttribute/computed_attribute_no_force_new/changed_non-null_to_null.golden @@ -2,6 +2,7 @@ tests.testOutput{ initialValue: &[]string{ "value", }, + changeValue: nil, tfOut: ` No changes. Your infrastructure matches the configuration. diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedAttribute/computed_attribute_no_force_new/changed_null_to_empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedAttribute/computed_attribute_no_force_new/changed_null_to_empty.golden index 30ad73965..4949b3c15 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedAttribute/computed_attribute_no_force_new/changed_null_to_empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedAttribute/computed_attribute_no_force_new/changed_null_to_empty.golden @@ -1,5 +1,5 @@ tests.testOutput{ - changeValue: &[]string{}, + initialValue: nil, changeValue: &[]string{}, tfOut: ` Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedAttribute/computed_attribute_no_force_new/changed_null_to_non-null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedAttribute/computed_attribute_no_force_new/changed_null_to_non-null.golden index 3fed7515a..45d8d00ae 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedAttribute/computed_attribute_no_force_new/changed_null_to_non-null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedAttribute/computed_attribute_no_force_new/changed_null_to_non-null.golden @@ -1,5 +1,5 @@ tests.testOutput{ - changeValue: &[]string{ + initialValue: nil, changeValue: &[]string{ "value", }, tfOut: ` diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedAttribute/computed_attribute_no_force_new/unchanged_null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedAttribute/computed_attribute_no_force_new/unchanged_null.golden index a53fac34d..53d2a9794 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedAttribute/computed_attribute_no_force_new/unchanged_null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedAttribute/computed_attribute_no_force_new/unchanged_null.golden @@ -1,11 +1,15 @@ -tests.testOutput{tfOut: ` +tests.testOutput{ + initialValue: nil, changeValue: nil, + tfOut: ` No changes. Your infrastructure matches the configuration. Terraform has compared your real infrastructure against your configuration and found no differences, so no changes are needed. -`, pulumiOut: `Previewing update (test): +`, + pulumiOut: `Previewing update (test): pulumi:pulumi:Stack: (same) [urn=urn:pulumi:test::project::pulumi:pulumi:Stack::project-test] Resources: 2 unchanged -`} +`, +} diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_and_nested_force_new/changed_empty_to_null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_and_nested_force_new/changed_empty_to_null.golden index 7bae19762..ffec138c1 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_and_nested_force_new/changed_empty_to_null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_and_nested_force_new/changed_empty_to_null.golden @@ -1,5 +1,6 @@ tests.testOutput{ initialValue: &[]string{}, + changeValue: nil, tfOut: ` No changes. Your infrastructure matches the configuration. diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_and_nested_force_new/changed_non-null_to_null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_and_nested_force_new/changed_non-null_to_null.golden index eff89843a..bdf6703fb 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_and_nested_force_new/changed_non-null_to_null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_and_nested_force_new/changed_non-null_to_null.golden @@ -2,6 +2,7 @@ tests.testOutput{ initialValue: &[]string{ "value", }, + changeValue: nil, tfOut: ` No changes. Your infrastructure matches the configuration. diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_and_nested_force_new/changed_null_to_empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_and_nested_force_new/changed_null_to_empty.golden index 9589fbdf0..5e63deeb2 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_and_nested_force_new/changed_null_to_empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_and_nested_force_new/changed_null_to_empty.golden @@ -1,5 +1,5 @@ tests.testOutput{ - changeValue: &[]string{}, + initialValue: nil, changeValue: &[]string{}, tfOut: ` No changes. Your infrastructure matches the configuration. diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_and_nested_force_new/changed_null_to_non-null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_and_nested_force_new/changed_null_to_non-null.golden index 7e7fdd2f0..ae12d57d0 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_and_nested_force_new/changed_null_to_non-null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_and_nested_force_new/changed_null_to_non-null.golden @@ -1,5 +1,5 @@ tests.testOutput{ - changeValue: &[]string{ + initialValue: nil, changeValue: &[]string{ "value", }, tfOut: ` diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_and_nested_force_new/unchanged_null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_and_nested_force_new/unchanged_null.golden index a53fac34d..53d2a9794 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_and_nested_force_new/unchanged_null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_and_nested_force_new/unchanged_null.golden @@ -1,11 +1,15 @@ -tests.testOutput{tfOut: ` +tests.testOutput{ + initialValue: nil, changeValue: nil, + tfOut: ` No changes. Your infrastructure matches the configuration. Terraform has compared your real infrastructure against your configuration and found no differences, so no changes are needed. -`, pulumiOut: `Previewing update (test): +`, + pulumiOut: `Previewing update (test): pulumi:pulumi:Stack: (same) [urn=urn:pulumi:test::project::pulumi:pulumi:Stack::project-test] Resources: 2 unchanged -`} +`, +} diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_and_nested_force_new_computed_specified_in_program/changed_empty_to_null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_and_nested_force_new_computed_specified_in_program/changed_empty_to_null.golden index 7bae19762..ffec138c1 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_and_nested_force_new_computed_specified_in_program/changed_empty_to_null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_and_nested_force_new_computed_specified_in_program/changed_empty_to_null.golden @@ -1,5 +1,6 @@ tests.testOutput{ initialValue: &[]string{}, + changeValue: nil, tfOut: ` No changes. Your infrastructure matches the configuration. diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_and_nested_force_new_computed_specified_in_program/changed_non-null_to_null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_and_nested_force_new_computed_specified_in_program/changed_non-null_to_null.golden index eff89843a..bdf6703fb 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_and_nested_force_new_computed_specified_in_program/changed_non-null_to_null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_and_nested_force_new_computed_specified_in_program/changed_non-null_to_null.golden @@ -2,6 +2,7 @@ tests.testOutput{ initialValue: &[]string{ "value", }, + changeValue: nil, tfOut: ` No changes. Your infrastructure matches the configuration. diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_and_nested_force_new_computed_specified_in_program/changed_null_to_empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_and_nested_force_new_computed_specified_in_program/changed_null_to_empty.golden index 9589fbdf0..5e63deeb2 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_and_nested_force_new_computed_specified_in_program/changed_null_to_empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_and_nested_force_new_computed_specified_in_program/changed_null_to_empty.golden @@ -1,5 +1,5 @@ tests.testOutput{ - changeValue: &[]string{}, + initialValue: nil, changeValue: &[]string{}, tfOut: ` No changes. Your infrastructure matches the configuration. diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_and_nested_force_new_computed_specified_in_program/changed_null_to_non-null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_and_nested_force_new_computed_specified_in_program/changed_null_to_non-null.golden index e2326c566..c2f1607a9 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_and_nested_force_new_computed_specified_in_program/changed_null_to_non-null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_and_nested_force_new_computed_specified_in_program/changed_null_to_non-null.golden @@ -1,5 +1,5 @@ tests.testOutput{ - changeValue: &[]string{ + initialValue: nil, changeValue: &[]string{ "value", }, tfOut: ` diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_and_nested_force_new_computed_specified_in_program/unchanged_null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_and_nested_force_new_computed_specified_in_program/unchanged_null.golden index a53fac34d..53d2a9794 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_and_nested_force_new_computed_specified_in_program/unchanged_null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_and_nested_force_new_computed_specified_in_program/unchanged_null.golden @@ -1,11 +1,15 @@ -tests.testOutput{tfOut: ` +tests.testOutput{ + initialValue: nil, changeValue: nil, + tfOut: ` No changes. Your infrastructure matches the configuration. Terraform has compared your real infrastructure against your configuration and found no differences, so no changes are needed. -`, pulumiOut: `Previewing update (test): +`, + pulumiOut: `Previewing update (test): pulumi:pulumi:Stack: (same) [urn=urn:pulumi:test::project::pulumi:pulumi:Stack::project-test] Resources: 2 unchanged -`} +`, +} diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_force_new/changed_empty_to_null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_force_new/changed_empty_to_null.golden index 7bae19762..ffec138c1 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_force_new/changed_empty_to_null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_force_new/changed_empty_to_null.golden @@ -1,5 +1,6 @@ tests.testOutput{ initialValue: &[]string{}, + changeValue: nil, tfOut: ` No changes. Your infrastructure matches the configuration. diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_force_new/changed_non-null_to_null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_force_new/changed_non-null_to_null.golden index eff89843a..bdf6703fb 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_force_new/changed_non-null_to_null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_force_new/changed_non-null_to_null.golden @@ -2,6 +2,7 @@ tests.testOutput{ initialValue: &[]string{ "value", }, + changeValue: nil, tfOut: ` No changes. Your infrastructure matches the configuration. diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_force_new/changed_null_to_empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_force_new/changed_null_to_empty.golden index 9589fbdf0..5e63deeb2 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_force_new/changed_null_to_empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_force_new/changed_null_to_empty.golden @@ -1,5 +1,5 @@ tests.testOutput{ - changeValue: &[]string{}, + initialValue: nil, changeValue: &[]string{}, tfOut: ` No changes. Your infrastructure matches the configuration. diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_force_new/changed_null_to_non-null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_force_new/changed_null_to_non-null.golden index 7e7fdd2f0..ae12d57d0 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_force_new/changed_null_to_non-null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_force_new/changed_null_to_non-null.golden @@ -1,5 +1,5 @@ tests.testOutput{ - changeValue: &[]string{ + initialValue: nil, changeValue: &[]string{ "value", }, tfOut: ` diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_force_new/unchanged_null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_force_new/unchanged_null.golden index a53fac34d..53d2a9794 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_force_new/unchanged_null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_force_new/unchanged_null.golden @@ -1,11 +1,15 @@ -tests.testOutput{tfOut: ` +tests.testOutput{ + initialValue: nil, changeValue: nil, + tfOut: ` No changes. Your infrastructure matches the configuration. Terraform has compared your real infrastructure against your configuration and found no differences, so no changes are needed. -`, pulumiOut: `Previewing update (test): +`, + pulumiOut: `Previewing update (test): pulumi:pulumi:Stack: (same) [urn=urn:pulumi:test::project::pulumi:pulumi:Stack::project-test] Resources: 2 unchanged -`} +`, +} diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_force_new_computed_specified_in_program/changed_empty_to_null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_force_new_computed_specified_in_program/changed_empty_to_null.golden index 7bae19762..ffec138c1 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_force_new_computed_specified_in_program/changed_empty_to_null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_force_new_computed_specified_in_program/changed_empty_to_null.golden @@ -1,5 +1,6 @@ tests.testOutput{ initialValue: &[]string{}, + changeValue: nil, tfOut: ` No changes. Your infrastructure matches the configuration. diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_force_new_computed_specified_in_program/changed_non-null_to_null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_force_new_computed_specified_in_program/changed_non-null_to_null.golden index eff89843a..bdf6703fb 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_force_new_computed_specified_in_program/changed_non-null_to_null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_force_new_computed_specified_in_program/changed_non-null_to_null.golden @@ -2,6 +2,7 @@ tests.testOutput{ initialValue: &[]string{ "value", }, + changeValue: nil, tfOut: ` No changes. Your infrastructure matches the configuration. diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_force_new_computed_specified_in_program/changed_null_to_empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_force_new_computed_specified_in_program/changed_null_to_empty.golden index 9589fbdf0..5e63deeb2 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_force_new_computed_specified_in_program/changed_null_to_empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_force_new_computed_specified_in_program/changed_null_to_empty.golden @@ -1,5 +1,5 @@ tests.testOutput{ - changeValue: &[]string{}, + initialValue: nil, changeValue: &[]string{}, tfOut: ` No changes. Your infrastructure matches the configuration. diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_force_new_computed_specified_in_program/changed_null_to_non-null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_force_new_computed_specified_in_program/changed_null_to_non-null.golden index e2326c566..c2f1607a9 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_force_new_computed_specified_in_program/changed_null_to_non-null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_force_new_computed_specified_in_program/changed_null_to_non-null.golden @@ -1,5 +1,5 @@ tests.testOutput{ - changeValue: &[]string{ + initialValue: nil, changeValue: &[]string{ "value", }, tfOut: ` diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_force_new_computed_specified_in_program/unchanged_null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_force_new_computed_specified_in_program/unchanged_null.golden index a53fac34d..53d2a9794 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_force_new_computed_specified_in_program/unchanged_null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_force_new_computed_specified_in_program/unchanged_null.golden @@ -1,11 +1,15 @@ -tests.testOutput{tfOut: ` +tests.testOutput{ + initialValue: nil, changeValue: nil, + tfOut: ` No changes. Your infrastructure matches the configuration. Terraform has compared your real infrastructure against your configuration and found no differences, so no changes are needed. -`, pulumiOut: `Previewing update (test): +`, + pulumiOut: `Previewing update (test): pulumi:pulumi:Stack: (same) [urn=urn:pulumi:test::project::pulumi:pulumi:Stack::project-test] Resources: 2 unchanged -`} +`, +} diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_no_replace/changed_empty_to_null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_no_replace/changed_empty_to_null.golden index 7bae19762..ffec138c1 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_no_replace/changed_empty_to_null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_no_replace/changed_empty_to_null.golden @@ -1,5 +1,6 @@ tests.testOutput{ initialValue: &[]string{}, + changeValue: nil, tfOut: ` No changes. Your infrastructure matches the configuration. diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_no_replace/changed_non-null_to_null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_no_replace/changed_non-null_to_null.golden index eff89843a..bdf6703fb 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_no_replace/changed_non-null_to_null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_no_replace/changed_non-null_to_null.golden @@ -2,6 +2,7 @@ tests.testOutput{ initialValue: &[]string{ "value", }, + changeValue: nil, tfOut: ` No changes. Your infrastructure matches the configuration. diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_no_replace/changed_null_to_empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_no_replace/changed_null_to_empty.golden index 9589fbdf0..5e63deeb2 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_no_replace/changed_null_to_empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_no_replace/changed_null_to_empty.golden @@ -1,5 +1,5 @@ tests.testOutput{ - changeValue: &[]string{}, + initialValue: nil, changeValue: &[]string{}, tfOut: ` No changes. Your infrastructure matches the configuration. diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_no_replace/changed_null_to_non-null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_no_replace/changed_null_to_non-null.golden index 2672c4e43..d9a3f3f7d 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_no_replace/changed_null_to_non-null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_no_replace/changed_null_to_non-null.golden @@ -1,5 +1,5 @@ tests.testOutput{ - changeValue: &[]string{ + initialValue: nil, changeValue: &[]string{ "value", }, tfOut: ` diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_no_replace/unchanged_null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_no_replace/unchanged_null.golden index a53fac34d..53d2a9794 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_no_replace/unchanged_null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_no_replace/unchanged_null.golden @@ -1,11 +1,15 @@ -tests.testOutput{tfOut: ` +tests.testOutput{ + initialValue: nil, changeValue: nil, + tfOut: ` No changes. Your infrastructure matches the configuration. Terraform has compared your real infrastructure against your configuration and found no differences, so no changes are needed. -`, pulumiOut: `Previewing update (test): +`, + pulumiOut: `Previewing update (test): pulumi:pulumi:Stack: (same) [urn=urn:pulumi:test::project::pulumi:pulumi:Stack::project-test] Resources: 2 unchanged -`} +`, +} diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_no_replace_computed_specified_in_program/changed_empty_to_null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_no_replace_computed_specified_in_program/changed_empty_to_null.golden index 7bae19762..ffec138c1 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_no_replace_computed_specified_in_program/changed_empty_to_null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_no_replace_computed_specified_in_program/changed_empty_to_null.golden @@ -1,5 +1,6 @@ tests.testOutput{ initialValue: &[]string{}, + changeValue: nil, tfOut: ` No changes. Your infrastructure matches the configuration. diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_no_replace_computed_specified_in_program/changed_non-null_to_null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_no_replace_computed_specified_in_program/changed_non-null_to_null.golden index eff89843a..bdf6703fb 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_no_replace_computed_specified_in_program/changed_non-null_to_null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_no_replace_computed_specified_in_program/changed_non-null_to_null.golden @@ -2,6 +2,7 @@ tests.testOutput{ initialValue: &[]string{ "value", }, + changeValue: nil, tfOut: ` No changes. Your infrastructure matches the configuration. diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_no_replace_computed_specified_in_program/changed_null_to_empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_no_replace_computed_specified_in_program/changed_null_to_empty.golden index 9589fbdf0..5e63deeb2 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_no_replace_computed_specified_in_program/changed_null_to_empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_no_replace_computed_specified_in_program/changed_null_to_empty.golden @@ -1,5 +1,5 @@ tests.testOutput{ - changeValue: &[]string{}, + initialValue: nil, changeValue: &[]string{}, tfOut: ` No changes. Your infrastructure matches the configuration. diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_no_replace_computed_specified_in_program/changed_null_to_non-null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_no_replace_computed_specified_in_program/changed_null_to_non-null.golden index 238c8dba3..15a585c5a 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_no_replace_computed_specified_in_program/changed_null_to_non-null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_no_replace_computed_specified_in_program/changed_null_to_non-null.golden @@ -1,5 +1,5 @@ tests.testOutput{ - changeValue: &[]string{ + initialValue: nil, changeValue: &[]string{ "value", }, tfOut: ` diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_no_replace_computed_specified_in_program/unchanged_null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_no_replace_computed_specified_in_program/unchanged_null.golden index a53fac34d..53d2a9794 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_no_replace_computed_specified_in_program/unchanged_null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetComputedBlock/block_with_computed_no_replace_computed_specified_in_program/unchanged_null.golden @@ -1,11 +1,15 @@ -tests.testOutput{tfOut: ` +tests.testOutput{ + initialValue: nil, changeValue: nil, + tfOut: ` No changes. Your infrastructure matches the configuration. Terraform has compared your real infrastructure against your configuration and found no differences, so no changes are needed. -`, pulumiOut: `Previewing update (test): +`, + pulumiOut: `Previewing update (test): pulumi:pulumi:Stack: (same) [urn=urn:pulumi:test::project::pulumi:pulumi:Stack::project-test] Resources: 2 unchanged -`} +`, +} diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_force_new/changed_empty_to_null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_force_new/changed_empty_to_null.golden index 7bae19762..ffec138c1 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_force_new/changed_empty_to_null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_force_new/changed_empty_to_null.golden @@ -1,5 +1,6 @@ tests.testOutput{ initialValue: &[]string{}, + changeValue: nil, tfOut: ` No changes. Your infrastructure matches the configuration. diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_force_new/changed_non-null_to_null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_force_new/changed_non-null_to_null.golden index 5164e9405..78fc54133 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_force_new/changed_non-null_to_null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_force_new/changed_non-null_to_null.golden @@ -2,6 +2,7 @@ tests.testOutput{ initialValue: &[]string{ "value", }, + changeValue: nil, tfOut: ` Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_force_new/changed_null_to_empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_force_new/changed_null_to_empty.golden index 9589fbdf0..5e63deeb2 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_force_new/changed_null_to_empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_force_new/changed_null_to_empty.golden @@ -1,5 +1,5 @@ tests.testOutput{ - changeValue: &[]string{}, + initialValue: nil, changeValue: &[]string{}, tfOut: ` No changes. Your infrastructure matches the configuration. diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_force_new/changed_null_to_non-null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_force_new/changed_null_to_non-null.golden index 7e7fdd2f0..ae12d57d0 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_force_new/changed_null_to_non-null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_force_new/changed_null_to_non-null.golden @@ -1,5 +1,5 @@ tests.testOutput{ - changeValue: &[]string{ + initialValue: nil, changeValue: &[]string{ "value", }, tfOut: ` diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_force_new/unchanged_null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_force_new/unchanged_null.golden index a53fac34d..53d2a9794 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_force_new/unchanged_null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_force_new/unchanged_null.golden @@ -1,11 +1,15 @@ -tests.testOutput{tfOut: ` +tests.testOutput{ + initialValue: nil, changeValue: nil, + tfOut: ` No changes. Your infrastructure matches the configuration. Terraform has compared your real infrastructure against your configuration and found no differences, so no changes are needed. -`, pulumiOut: `Previewing update (test): +`, + pulumiOut: `Previewing update (test): pulumi:pulumi:Stack: (same) [urn=urn:pulumi:test::project::pulumi:pulumi:Stack::project-test] Resources: 2 unchanged -`} +`, +} diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_force_new_computed_specified_in_program/changed_empty_to_null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_force_new_computed_specified_in_program/changed_empty_to_null.golden index 7bae19762..ffec138c1 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_force_new_computed_specified_in_program/changed_empty_to_null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_force_new_computed_specified_in_program/changed_empty_to_null.golden @@ -1,5 +1,6 @@ tests.testOutput{ initialValue: &[]string{}, + changeValue: nil, tfOut: ` No changes. Your infrastructure matches the configuration. diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_force_new_computed_specified_in_program/changed_non-null_to_null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_force_new_computed_specified_in_program/changed_non-null_to_null.golden index e1cbce612..d200f8583 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_force_new_computed_specified_in_program/changed_non-null_to_null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_force_new_computed_specified_in_program/changed_non-null_to_null.golden @@ -2,6 +2,7 @@ tests.testOutput{ initialValue: &[]string{ "value", }, + changeValue: nil, tfOut: ` Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_force_new_computed_specified_in_program/changed_null_to_empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_force_new_computed_specified_in_program/changed_null_to_empty.golden index 9589fbdf0..5e63deeb2 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_force_new_computed_specified_in_program/changed_null_to_empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_force_new_computed_specified_in_program/changed_null_to_empty.golden @@ -1,5 +1,5 @@ tests.testOutput{ - changeValue: &[]string{}, + initialValue: nil, changeValue: &[]string{}, tfOut: ` No changes. Your infrastructure matches the configuration. diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_force_new_computed_specified_in_program/changed_null_to_non-null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_force_new_computed_specified_in_program/changed_null_to_non-null.golden index e2326c566..c2f1607a9 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_force_new_computed_specified_in_program/changed_null_to_non-null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_force_new_computed_specified_in_program/changed_null_to_non-null.golden @@ -1,5 +1,5 @@ tests.testOutput{ - changeValue: &[]string{ + initialValue: nil, changeValue: &[]string{ "value", }, tfOut: ` diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_force_new_computed_specified_in_program/unchanged_null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_force_new_computed_specified_in_program/unchanged_null.golden index a53fac34d..53d2a9794 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_force_new_computed_specified_in_program/unchanged_null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_force_new_computed_specified_in_program/unchanged_null.golden @@ -1,11 +1,15 @@ -tests.testOutput{tfOut: ` +tests.testOutput{ + initialValue: nil, changeValue: nil, + tfOut: ` No changes. Your infrastructure matches the configuration. Terraform has compared your real infrastructure against your configuration and found no differences, so no changes are needed. -`, pulumiOut: `Previewing update (test): +`, + pulumiOut: `Previewing update (test): pulumi:pulumi:Stack: (same) [urn=urn:pulumi:test::project::pulumi:pulumi:Stack::project-test] Resources: 2 unchanged -`} +`, +} diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_nested_force_new/changed_empty_to_null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_nested_force_new/changed_empty_to_null.golden index 7bae19762..ffec138c1 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_nested_force_new/changed_empty_to_null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_nested_force_new/changed_empty_to_null.golden @@ -1,5 +1,6 @@ tests.testOutput{ initialValue: &[]string{}, + changeValue: nil, tfOut: ` No changes. Your infrastructure matches the configuration. diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_nested_force_new/changed_non-null_to_null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_nested_force_new/changed_non-null_to_null.golden index 5164e9405..78fc54133 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_nested_force_new/changed_non-null_to_null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_nested_force_new/changed_non-null_to_null.golden @@ -2,6 +2,7 @@ tests.testOutput{ initialValue: &[]string{ "value", }, + changeValue: nil, tfOut: ` Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_nested_force_new/changed_null_to_empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_nested_force_new/changed_null_to_empty.golden index 9589fbdf0..5e63deeb2 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_nested_force_new/changed_null_to_empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_nested_force_new/changed_null_to_empty.golden @@ -1,5 +1,5 @@ tests.testOutput{ - changeValue: &[]string{}, + initialValue: nil, changeValue: &[]string{}, tfOut: ` No changes. Your infrastructure matches the configuration. diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_nested_force_new/changed_null_to_non-null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_nested_force_new/changed_null_to_non-null.golden index 7e7fdd2f0..ae12d57d0 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_nested_force_new/changed_null_to_non-null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_nested_force_new/changed_null_to_non-null.golden @@ -1,5 +1,5 @@ tests.testOutput{ - changeValue: &[]string{ + initialValue: nil, changeValue: &[]string{ "value", }, tfOut: ` diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_nested_force_new/unchanged_null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_nested_force_new/unchanged_null.golden index a53fac34d..53d2a9794 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_nested_force_new/unchanged_null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_nested_force_new/unchanged_null.golden @@ -1,11 +1,15 @@ -tests.testOutput{tfOut: ` +tests.testOutput{ + initialValue: nil, changeValue: nil, + tfOut: ` No changes. Your infrastructure matches the configuration. Terraform has compared your real infrastructure against your configuration and found no differences, so no changes are needed. -`, pulumiOut: `Previewing update (test): +`, + pulumiOut: `Previewing update (test): pulumi:pulumi:Stack: (same) [urn=urn:pulumi:test::project::pulumi:pulumi:Stack::project-test] Resources: 2 unchanged -`} +`, +} diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_nested_force_new_computed_specified_in_program/changed_empty_to_null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_nested_force_new_computed_specified_in_program/changed_empty_to_null.golden index 7bae19762..ffec138c1 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_nested_force_new_computed_specified_in_program/changed_empty_to_null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_nested_force_new_computed_specified_in_program/changed_empty_to_null.golden @@ -1,5 +1,6 @@ tests.testOutput{ initialValue: &[]string{}, + changeValue: nil, tfOut: ` No changes. Your infrastructure matches the configuration. diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_nested_force_new_computed_specified_in_program/changed_non-null_to_null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_nested_force_new_computed_specified_in_program/changed_non-null_to_null.golden index e1cbce612..d200f8583 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_nested_force_new_computed_specified_in_program/changed_non-null_to_null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_nested_force_new_computed_specified_in_program/changed_non-null_to_null.golden @@ -2,6 +2,7 @@ tests.testOutput{ initialValue: &[]string{ "value", }, + changeValue: nil, tfOut: ` Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_nested_force_new_computed_specified_in_program/changed_null_to_empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_nested_force_new_computed_specified_in_program/changed_null_to_empty.golden index 9589fbdf0..5e63deeb2 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_nested_force_new_computed_specified_in_program/changed_null_to_empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_nested_force_new_computed_specified_in_program/changed_null_to_empty.golden @@ -1,5 +1,5 @@ tests.testOutput{ - changeValue: &[]string{}, + initialValue: nil, changeValue: &[]string{}, tfOut: ` No changes. Your infrastructure matches the configuration. diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_nested_force_new_computed_specified_in_program/changed_null_to_non-null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_nested_force_new_computed_specified_in_program/changed_null_to_non-null.golden index e2326c566..c2f1607a9 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_nested_force_new_computed_specified_in_program/changed_null_to_non-null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_nested_force_new_computed_specified_in_program/changed_null_to_non-null.golden @@ -1,5 +1,5 @@ tests.testOutput{ - changeValue: &[]string{ + initialValue: nil, changeValue: &[]string{ "value", }, tfOut: ` diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_nested_force_new_computed_specified_in_program/unchanged_null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_nested_force_new_computed_specified_in_program/unchanged_null.golden index a53fac34d..53d2a9794 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_nested_force_new_computed_specified_in_program/unchanged_null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_and_nested_force_new_computed_specified_in_program/unchanged_null.golden @@ -1,11 +1,15 @@ -tests.testOutput{tfOut: ` +tests.testOutput{ + initialValue: nil, changeValue: nil, + tfOut: ` No changes. Your infrastructure matches the configuration. Terraform has compared your real infrastructure against your configuration and found no differences, so no changes are needed. -`, pulumiOut: `Previewing update (test): +`, + pulumiOut: `Previewing update (test): pulumi:pulumi:Stack: (same) [urn=urn:pulumi:test::project::pulumi:pulumi:Stack::project-test] Resources: 2 unchanged -`} +`, +} diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_no_replace/changed_empty_to_null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_no_replace/changed_empty_to_null.golden index 7bae19762..ffec138c1 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_no_replace/changed_empty_to_null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_no_replace/changed_empty_to_null.golden @@ -1,5 +1,6 @@ tests.testOutput{ initialValue: &[]string{}, + changeValue: nil, tfOut: ` No changes. Your infrastructure matches the configuration. diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_no_replace/changed_non-null_to_null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_no_replace/changed_non-null_to_null.golden index 07629a3e3..d86f5ce73 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_no_replace/changed_non-null_to_null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_no_replace/changed_non-null_to_null.golden @@ -2,6 +2,7 @@ tests.testOutput{ initialValue: &[]string{ "value", }, + changeValue: nil, tfOut: ` Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_no_replace/changed_null_to_empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_no_replace/changed_null_to_empty.golden index 9589fbdf0..5e63deeb2 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_no_replace/changed_null_to_empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_no_replace/changed_null_to_empty.golden @@ -1,5 +1,5 @@ tests.testOutput{ - changeValue: &[]string{}, + initialValue: nil, changeValue: &[]string{}, tfOut: ` No changes. Your infrastructure matches the configuration. diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_no_replace/changed_null_to_non-null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_no_replace/changed_null_to_non-null.golden index 2672c4e43..d9a3f3f7d 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_no_replace/changed_null_to_non-null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_no_replace/changed_null_to_non-null.golden @@ -1,5 +1,5 @@ tests.testOutput{ - changeValue: &[]string{ + initialValue: nil, changeValue: &[]string{ "value", }, tfOut: ` diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_no_replace/unchanged_null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_no_replace/unchanged_null.golden index a53fac34d..53d2a9794 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_no_replace/unchanged_null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_no_replace/unchanged_null.golden @@ -1,11 +1,15 @@ -tests.testOutput{tfOut: ` +tests.testOutput{ + initialValue: nil, changeValue: nil, + tfOut: ` No changes. Your infrastructure matches the configuration. Terraform has compared your real infrastructure against your configuration and found no differences, so no changes are needed. -`, pulumiOut: `Previewing update (test): +`, + pulumiOut: `Previewing update (test): pulumi:pulumi:Stack: (same) [urn=urn:pulumi:test::project::pulumi:pulumi:Stack::project-test] Resources: 2 unchanged -`} +`, +} diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_no_replace_computed_specified_in_program/changed_empty_to_null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_no_replace_computed_specified_in_program/changed_empty_to_null.golden index 7bae19762..ffec138c1 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_no_replace_computed_specified_in_program/changed_empty_to_null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_no_replace_computed_specified_in_program/changed_empty_to_null.golden @@ -1,5 +1,6 @@ tests.testOutput{ initialValue: &[]string{}, + changeValue: nil, tfOut: ` No changes. Your infrastructure matches the configuration. diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_no_replace_computed_specified_in_program/changed_non-null_to_null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_no_replace_computed_specified_in_program/changed_non-null_to_null.golden index 6d83e6015..834a96ca3 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_no_replace_computed_specified_in_program/changed_non-null_to_null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_no_replace_computed_specified_in_program/changed_non-null_to_null.golden @@ -2,6 +2,7 @@ tests.testOutput{ initialValue: &[]string{ "value", }, + changeValue: nil, tfOut: ` Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_no_replace_computed_specified_in_program/changed_null_to_empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_no_replace_computed_specified_in_program/changed_null_to_empty.golden index 9589fbdf0..5e63deeb2 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_no_replace_computed_specified_in_program/changed_null_to_empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_no_replace_computed_specified_in_program/changed_null_to_empty.golden @@ -1,5 +1,5 @@ tests.testOutput{ - changeValue: &[]string{}, + initialValue: nil, changeValue: &[]string{}, tfOut: ` No changes. Your infrastructure matches the configuration. diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_no_replace_computed_specified_in_program/changed_null_to_non-null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_no_replace_computed_specified_in_program/changed_null_to_non-null.golden index 238c8dba3..15a585c5a 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_no_replace_computed_specified_in_program/changed_null_to_non-null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_no_replace_computed_specified_in_program/changed_null_to_non-null.golden @@ -1,5 +1,5 @@ tests.testOutput{ - changeValue: &[]string{ + initialValue: nil, changeValue: &[]string{ "value", }, tfOut: ` diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_no_replace_computed_specified_in_program/unchanged_null.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_no_replace_computed_specified_in_program/unchanged_null.golden index a53fac34d..53d2a9794 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_no_replace_computed_specified_in_program/unchanged_null.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffSetNestedComputedBlock/block_with_nested_computed_no_replace_computed_specified_in_program/unchanged_null.golden @@ -1,11 +1,15 @@ -tests.testOutput{tfOut: ` +tests.testOutput{ + initialValue: nil, changeValue: nil, + tfOut: ` No changes. Your infrastructure matches the configuration. Terraform has compared your real infrastructure against your configuration and found no differences, so no changes are needed. -`, pulumiOut: `Previewing update (test): +`, + pulumiOut: `Previewing update (test): pulumi:pulumi:Stack: (same) [urn=urn:pulumi:test::project::pulumi:pulumi:Stack::project-test] Resources: 2 unchanged -`} +`, +} diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffString/added.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffString/added.golden index e1dba4ce3..94ba38c16 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffString/added.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffString/added.golden @@ -1,5 +1,6 @@ tests.testOutput{ - changeValue: valast.Ptr("val1"), tfOut: ` + initialValue: nil, changeValue: valast.Ptr("val1"), + tfOut: ` Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: ~ update in-place diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffString/removed.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffString/removed.golden index fca1ebb81..e57708505 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffString/removed.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffString/removed.golden @@ -1,5 +1,6 @@ tests.testOutput{ - initialValue: valast.Ptr("val1"), tfOut: ` + initialValue: valast.Ptr("val1"), changeValue: nil, + tfOut: ` Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: ~ update in-place diff --git a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffString/unchanged_empty.golden b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffString/unchanged_empty.golden index a53fac34d..53d2a9794 100644 --- a/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffString/unchanged_empty.golden +++ b/pkg/tests/diff_test/testdata/TestSDKv2DetailedDiffString/unchanged_empty.golden @@ -1,11 +1,15 @@ -tests.testOutput{tfOut: ` +tests.testOutput{ + initialValue: nil, changeValue: nil, + tfOut: ` No changes. Your infrastructure matches the configuration. Terraform has compared your real infrastructure against your configuration and found no differences, so no changes are needed. -`, pulumiOut: `Previewing update (test): +`, + pulumiOut: `Previewing update (test): pulumi:pulumi:Stack: (same) [urn=urn:pulumi:test::project::pulumi:pulumi:Stack::project-test] Resources: 2 unchanged -`} +`, +}