github.com/opentofu/opentofu@v1.7.1/internal/plans/changes_state.go (about) 1 // Copyright (c) The OpenTofu Authors 2 // SPDX-License-Identifier: MPL-2.0 3 // Copyright (c) 2023 HashiCorp, Inc. 4 // SPDX-License-Identifier: MPL-2.0 5 6 package plans 7 8 import ( 9 "github.com/opentofu/opentofu/internal/states" 10 ) 11 12 // PlannedState merges the set of changes described by the receiver into the 13 // given prior state to produce the planned result state. 14 // 15 // The result is an approximation of the state as it would exist after 16 // applying these changes, omitting any values that cannot be determined until 17 // the changes are actually applied. 18 func (c *Changes) PlannedState(prior *states.State) (*states.State, error) { 19 panic("Changes.PlannedState not yet implemented") 20 }