# Functions

No description provided by the author
No description provided by the author
RemoveId removes the id suffix from a string.
RemoveInterpolation removes the Terraform 0.x style interpolations to produce a Terraform 1.x style "naked" reference.
WriteActionProperties is used to pretty print the properties of an action, writing a multiline map for the properties, and extracting JSON blobs as maps for easy reading.
No description provided by the author
WriteLifecycleAllAttribute writes a lifecycle block with ignore_changes set to all.
WriteLifecycleAttribute writes a lifecycle block with ignore_changes set to the supplied list.
WriteLifecyclePostCondition writes a lifecycle block with a postcondition.
WriteLifecyclePreventDestroyAttribute writes a lifecycle block with prevent_destroy set to true.
WriteUnquotedAttribute uses the example from https://github.com/hashicorp/hcl/issues/442 to add an unquoted attribute to a block.