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