Structures

The following structures are available globally.

  • A plan consists of a prior state, the configuration that is being applied to that state, and the set of changes Terraform plans to make to achieve that. For ease of consumption by callers, the plan representation includes a partial representation of the values in the final state (using a value representation), allowing callers to easily analyze the planned outcome using similar code as for analyzing the prior state.

    See more

    Declaration

    Swift

    public struct Plan : Decodable
  • Undocumented

    See more

    Declaration

    Swift

    public struct Schema : Decodable
  • The top-level object returned by terraform providers schema -json

    See more

    Declaration

    Swift

    public struct SchemaDescription : Decodable
  • The complete top-level object returned by terraform show -json <STATE FILE>.

    See more

    Declaration

    Swift

    public struct State : Decodable
  • Undocumented

    See more

    Declaration

    Swift

    public struct Module : Decodable
  • A values representation is used in both state and plan output to describe current state (which is always complete) and planned state (which omits values not known until apply).

    See more

    Declaration

    Swift

    public struct Values : Decodable
  • Description of a Terraform version including all configured providers

    See more

    Declaration

    Swift

    public struct VersionDescription
  • Undocumented

    See more

    Declaration

    Swift

    public struct AnyDecodable : Decodable
  • Undocumented

    See more

    Declaration

    Swift

    public struct AnyEncodable : Encodable