Skip to content

Commit

Permalink
Adding changelog entry and ensuring MarkComputedNilsAsUnknown is exec…
Browse files Browse the repository at this point in the history
…uted (#551)
  • Loading branch information
bendbennett committed Nov 28, 2022
1 parent f738135 commit 10e03e4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .changelog/552.txt
@@ -0,0 +1,3 @@
```release-note:bug
internal/fwserver: Ensured blocks are ignored when marking computed nils as unknown during resource change planning
```
2 changes: 1 addition & 1 deletion internal/fwserver/server_planresourcechange_test.go
Expand Up @@ -2007,7 +2007,7 @@ func TestServerPlanResourceChange(t *testing.T) {
},
PriorState: &tfsdk.State{
Raw: tftypes.NewValue(testSchemaBlockType, map[string]tftypes.Value{
"test_required": tftypes.NewValue(tftypes.String, "test-new-value"),
"test_required": tftypes.NewValue(tftypes.String, "test-old-value"),
"test_optional_block": tftypes.NewValue(tftypes.Object{
AttributeTypes: map[string]tftypes.Type{
"test_optional_one": tftypes.String,
Expand Down

0 comments on commit 10e03e4

Please sign in to comment.