Configuration

public struct Configuration : Decodable

A sub-object of plan output that describes a parsed Terraform configuration.

  • A sub-object of a configuration representation that describes an unevaluated expression.

    See more

    Declaration

    Swift

    public struct Expression : Decodable
  • A sub-object of a configuration representation that describes the expressions nested inside a block.

    See more

    Declaration

    Swift

    public indirect enum BlockExpression : Decodable
  • providerConfigs describes all of the provider configurations throughout the configuration tree, flattened into a single map for convenience since provider configurations are the one concept in Terraform that can span across module boundaries.

    Declaration

    Swift

    public let providerConfigs: [String : ProviderConfig]
  • Undocumented

    See more

    Declaration

    Swift

    public struct ProviderConfig : Decodable
  • rootModule describes the root module in the configuration, and serves as the root of a tree of similar objects describing descendent modules.

    Declaration

    Swift

    public let rootModule: ModuleConfiguration
  • Undocumented

    See more

    Declaration

    Swift

    public struct ModuleConfiguration : Decodable
  • resources describes the resource and data blocks in the module configuration.

    Declaration

    Swift

    public let resources: [ResourceConfiguration]
  • Undocumented

    See more

    Declaration

    Swift

    public struct ResourceConfiguration : Decodable
  • moduleCalls describes the “module” blocks in the module. During evaluation, a module call with count or for_each may expand to multiple module instances, but in configuration only the block itself is represented. Key is the module call name chosen in the configuration.

    Declaration

    Swift

    public let moduleCalls: [String : ModuleCall]
  • Undocumented

    See more

    Declaration

    Swift

    public struct ModuleCall : Decodable