github.com/graywolf-at-work-2/terraform-vendor@v1.4.5/internal/command/workdir/doc.go (about)

     1  // Package workdir models the various local artifacts and state we keep inside
     2  // a Terraform "working directory".
     3  //
     4  // The working directory artifacts and settings are typically initialized or
     5  // modified by "terraform init", after which they persist for use by other
     6  // commands in the same directory, but are not visible to commands run in
     7  // other working directories or on other computers.
     8  //
     9  // Although "terraform init" is the main command which modifies a workdir,
    10  // other commands do sometimes make more focused modifications for settings
    11  // which can typically change multiple times during a session, such as the
    12  // currently-selected workspace name. Any command which modifies the working
    13  // directory settings must discard and reload any objects which derived from
    14  // those settings, because otherwise the existing objects will often continue
    15  // to follow the settings that were present when they were created.
    16  package workdir