ResourceChange

public struct ResourceChange : Decodable

Undocumented

  • “address” is the full absolute address of the resource instance this change applies to, in the same format as addresses in a value representation

    Declaration

    Swift

    public let address: String
  • “moduleAddress”, if set, is the module portion of the above address. Omitted if the instance is in the root module.

    Declaration

    Swift

    public let moduleAddress: String?
  • Undocumented

    Declaration

    Swift

    public let mode: Mode
  • Undocumented

    Declaration

    Swift

    public let type: String
  • Undocumented

    Declaration

    Swift

    public let name: String
  • If the count or for_each meta-arguments are set for this resource, the additional key “index” is present to give the instance index key. This is omitted for the single instance of a resource that isn’t using count or for_each.

    Declaration

    Swift

    public let index: Int64?
  • deposed, if set, indicates that this action applies to a “deposed” object of the given instance rather than to its “current” object. Omitted for changes to the current object. “address” and “deposed” together form a unique key across all change objects in a particular plan. The value is an opaque key representing the specific deposed object.

    Declaration

    Swift

    public let deposed: String?
  • change describes the change that will be made to the indicated object. The is detailed in a section below.

    Declaration

    Swift

    public let change: Change<Values>