terraform-generator - v6
    Preparing search index...

    Class Heredoc

    Hierarchy (View Summary)

    Index

    Constructors

    • Construct heredoc argument.

      Parameters

      • content: string | Record<any, any>

        string or object, object will be stringify

      Returns Heredoc

    Methods

    • To string.

      Use this method when argument is used as an interpolation in a Terraform string or heredoc.

      It is automatically called when argument is used in template literal.

      Returns string

    • To Terraform representation.

      Use this method when argument is used as an interpolation in another Terraform argument or code.

      Returns string