Terraform providers: Difference between revisions
From wikinotes
(Created page with "Expose resource-types and data-sources that you can use.<br> Several providers are available in the [https://registry.terraform.io/browse/providers terraform registry].<br> Providers are installed when you run <code>terraform init</code> within a terraform directory. = Documentation = <blockquote> {| class="wikitable" |- | providers || https://www.terraform.io/language/providers#providers |- | registry || https://registry.terraform.io/browse/providers |- | version const...") |
No edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 16: | Line 16: | ||
</blockquote><!-- Documentation --> | </blockquote><!-- Documentation --> | ||
= Requiring = | = Provider Notes = | ||
<blockquote> | |||
{| class="wikitable" | |||
|- | |||
| [[terraform provider digitalocean]] | |||
|- | |||
| [[terraform provider vultr]] | |||
|- | |||
|} | |||
</blockquote><!-- Provider Notes --> | |||
= Configuration = | |||
<blockquote> | |||
== Requiring == | |||
<blockquote> | <blockquote> | ||
<syntaxhighlight lang="tf"> | <syntaxhighlight lang="tf"> | ||
Line 30: | Line 43: | ||
</blockquote><!-- Requiring Providers --> | </blockquote><!-- Requiring Providers --> | ||
= Configuration = | == Configuration == | ||
<blockquote> | <blockquote> | ||
Configuration varies by provider. | Configuration varies by provider. | ||
Line 40: | Line 53: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
</blockquote><!-- Configuring Providers --> | </blockquote><!-- Configuring Providers --> | ||
</blockquote><!-- Configuration --> |
Latest revision as of 18:06, 25 September 2022
Expose resource-types and data-sources that you can use.
Several providers are available in the terraform registry.
Providers are installed when you run terraform init
within a terraform directory.
Documentation
Provider Notes
terraform provider digitalocean terraform provider vultr
Configuration
Requiring
terraform { required_providers { mycloud = { source = "mycorp/mycloud" version = "~> 1.0" } } }Configuration
Configuration varies by provider.
provider "google" { project = "acme-app" region = "us-central1" }