github.com/terramate-io/tf@v0.0.0-20230830114523-fce866b4dfcd/command/views/json/importing.go (about)

     1  // Copyright (c) HashiCorp, Inc.
     2  // SPDX-License-Identifier: MPL-2.0
     3  
     4  package json
     5  
     6  // Importing contains metadata about a resource change that includes an import
     7  // action.
     8  //
     9  // Every field in here should be treated as optional as future versions do not
    10  // make a guarantee that they will retain the format of this change.
    11  //
    12  // Consumers should be capable of rendering/parsing the Importing struct even
    13  // if it does not have the ID field set.
    14  type Importing struct {
    15  	ID string `json:"id,omitempty"`
    16  }