Resource

public struct Resource : Decodable

Undocumented

  • address is the absolute resource address, which callers must consider opaque but may do full string comparisons with other address strings or pass this verbatim to other Terraform commands that are documented to accept absolute resource addresses. The module-local portions of this address are extracted in other properties below.

    Declaration

    Swift

    public let address: 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?
  • Undocumented

    Declaration

    Swift

    public let providerName: String
  • Undocumented

    Declaration

    Swift

    public let schemaVersion: Int64
  • Undocumented

    Declaration

    Swift

    public let values: [String : AnyDecodable]?