package
1.0.1
Repository: https://github.com/terramate-io/opentofulib.git
Documentation: pkg.go.dev

# Functions

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".
ValueEqual provides an implementation of the equals function that can be passed into LongestCommonSubsequence when comparing cty.Value types.