github.com/sylr/terraform@v0.11.12-beta1/helper/customdiff/doc.go (about)

     1  // Package customdiff provides a set of reusable and composable functions
     2  // to enable more "declarative" use of the CustomizeDiff mechanism available
     3  // for resources in package helper/schema.
     4  //
     5  // The intent of these helpers is to make the intent of a set of diff
     6  // customizations easier to see, rather than lost in a sea of Go function
     7  // boilerplate. They should _not_ be used in situations where they _obscure_
     8  // intent, e.g. by over-using the composition functions where a single
     9  // function containing normal Go control flow statements would be more
    10  // straightforward.
    11  package customdiff