github.com/terramate-io/tf@v0.0.0-20230830114523-fce866b4dfcd/plans/changes_state.go (about)

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