github.com/kcburge/terraform@v0.11.12-beta1/website/docs/commands/providers.html.markdown (about)

     1  ---
     2  layout: "docs"
     3  page_title: "Command: providers"
     4  sidebar_current: "docs-commands-providers"
     5  description: |-
     6    The "providers" sub-command prints information about the providers used
     7    in the current configuration.
     8  ---
     9  
    10  # Command: providers
    11  
    12  The `terraform providers` command prints information about the providers
    13  used in the current configuration.
    14  
    15  Provider dependencies are created in several different ways:
    16  
    17  * Explicit use of a `provider` block in configuration, optionally including
    18    a version constraint.
    19  
    20  * Use of any resource belonging to a particular provider in a `resource` or
    21    `data` block in configuration.
    22  
    23  * Existence of any resource instance belonging to a particular provider in
    24    the current _state_. For example, if a particular resource is removed
    25    from configuration, it continues to create a dependency on its provider
    26    until its instances have been destroyed.
    27  
    28  This command gives an overview of all of the current dependencies, as an aid
    29  to understanding why a particular provider is needed.
    30  
    31  ## Usage
    32  
    33  Usage: `terraform providers [config-path]`
    34  
    35  Pass an explicit configuration path to override the default of using the
    36  current working directory.