Merge pull request #9581 from jamtur01/provdoc
Added provider to meta-param resource docs
This commit is contained in:
commit
323e0374b7
|
@ -41,6 +41,7 @@ configuration is dependent on the type, and is documented for each
|
||||||
resource type in the
|
resource type in the
|
||||||
[providers section](/docs/providers/index.html).
|
[providers section](/docs/providers/index.html).
|
||||||
|
|
||||||
|
<a id="meta-parameters"></a>
|
||||||
### Meta-parameters
|
### Meta-parameters
|
||||||
|
|
||||||
There are **meta-parameters** available to all resources:
|
There are **meta-parameters** available to all resources:
|
||||||
|
@ -55,6 +56,11 @@ There are **meta-parameters** available to all resources:
|
||||||
resource. The dependencies are in the format of `TYPE.NAME`,
|
resource. The dependencies are in the format of `TYPE.NAME`,
|
||||||
for example `aws_instance.web`.
|
for example `aws_instance.web`.
|
||||||
|
|
||||||
|
* `provider` (string) - The name of a specific provider to use for
|
||||||
|
this resource. The name is in the format of `TYPE.ALIAS`, for example,
|
||||||
|
`aws.west`. Where `west` is set using the `alias` attribute in a
|
||||||
|
provider. See [multiple provider instances](#multi-provider-instances).
|
||||||
|
|
||||||
* `lifecycle` (configuration block) - Customizes the lifecycle
|
* `lifecycle` (configuration block) - Customizes the lifecycle
|
||||||
behavior of the resource. The specific options are documented
|
behavior of the resource. The specific options are documented
|
||||||
below.
|
below.
|
||||||
|
@ -90,6 +96,8 @@ which will match all attribute names. Using a partial string together with a
|
||||||
wildcard (e.g. `"rout*"`) is **not** supported.
|
wildcard (e.g. `"rout*"`) is **not** supported.
|
||||||
|
|
||||||
|
|
||||||
|
<a id="connection-block"></a>
|
||||||
|
|
||||||
### Connection block
|
### Connection block
|
||||||
|
|
||||||
Within a resource, you can optionally have a **connection block**.
|
Within a resource, you can optionally have a **connection block**.
|
||||||
|
@ -105,6 +113,8 @@ but other data must be specified by the user.
|
||||||
The full list of settings that can be specified are listed on
|
The full list of settings that can be specified are listed on
|
||||||
the [provisioner connection page](/docs/provisioners/connection.html).
|
the [provisioner connection page](/docs/provisioners/connection.html).
|
||||||
|
|
||||||
|
<a id="provisioners"></a>
|
||||||
|
|
||||||
### Provisioners
|
### Provisioners
|
||||||
|
|
||||||
Within a resource, you can specify zero or more **provisioner
|
Within a resource, you can specify zero or more **provisioner
|
||||||
|
@ -151,6 +161,8 @@ resource "aws_instance" "app" {
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
<a id="multi-provider-instances"></a>
|
||||||
|
|
||||||
## Multiple Provider Instances
|
## Multiple Provider Instances
|
||||||
|
|
||||||
By default, a resource targets the provider based on its type. For example
|
By default, a resource targets the provider based on its type. For example
|
||||||
|
|
Loading…
Reference in New Issue