package
3.0.0+incompatible
Repository: https://github.com/eitol/terraform-internals.git
Documentation: pkg.go.dev

# Functions

ActionForChange determines which plans.Action value best describes a change from the value given in before to the value given in after.
AssertObjectCompatible checks whether the given "actual" value is a valid completion of the possibly-partially-unknown "planned" value.
AssertPlanValid checks checks whether a planned new state returned by a provider's PlanResourceChange method is suitable to achieve a change from priorState to config.
LongestCommonSubsequence finds a sequence of values that are common to both x and y, with the same relative ordering as in both collections.
NormalizeObjectFromLegacySDK takes an object that may have been generated by the legacy Terraform SDK (i.e.
PlannedDataResourceObject is similar to proposedNewBlock but tailored for planning data resources in particular.
ProposedNew constructs a proposed new object value by combining the computed attribute values from "prior" with the configured attribute values from "config".