mirror of
https://github.com/opentffoundation/opentf.git
synced 2026-05-16 16:01:49 -04:00
Signed-off-by: James Humphries <james@james-humphries.co.uk> Signed-off-by: Martin Atkins <mart@degeneration.co.uk> Co-authored-by: Martin Atkins <mart@degeneration.co.uk>
23 lines
685 B
Go
23 lines
685 B
Go
// Copyright (c) The OpenTofu Authors
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
// Copyright (c) 2023 HashiCorp, Inc.
|
|
// SPDX-License-Identifier: MPL-2.0
|
|
|
|
package jsonentities
|
|
|
|
import "encoding/json"
|
|
|
|
// Importing contains metadata about a resource change that includes an import
|
|
// action.
|
|
//
|
|
// Every field in here should be treated as optional as future versions do not
|
|
// make a guarantee that they will retain the format of this change.
|
|
//
|
|
// Consumers should be capable of rendering/parsing the Importing struct even
|
|
// if it does not have the ID or Identity fields set.
|
|
type Importing struct {
|
|
ID string `json:"id,omitempty"`
|
|
|
|
Identity json.RawMessage `json:"identity,omitempty"`
|
|
}
|