Difference between revisions of "Terraform providers: provider"

From wikieduonline
Jump to navigation Jump to search
 
(41 intermediate revisions by 4 users not shown)
Line 1: Line 1:
 +
Terraform providers are [[plugins]] to interact with [[cloud providers]], [[SaaS providers]], and other [[APIs]].
 +
 +
* https://www.terraform.io/language/providers
 
* https://www.terraform.io/docs/language/providers/configuration.html
 
* https://www.terraform.io/docs/language/providers/configuration.html
* https://registry.terraform.io/browse/providers
+
* [[Terraform registry|Registry]]: https://registry.terraform.io/browse/providers
  
* <code>[[provider.tf]]</code> configuration file
+
Configuration:
 +
* <code>[[provider.tf]]</code> and <code>[[provider]]</code> keyword
 +
* <code>[[.terraform/providers/]]</code>
  
* <code>[[terraform providers (command)|terraform providers]]</code> command
+
Binary:
* <code>[[.terraform/providers/]]</code>
+
* <code>[[terraform providers (command)|terraform providers]]</code> command prints a tree of the Terraform providers used in the configuration.
  
List of some [[Terraform]] providers: <ref>https://registry.terraform.io/browse/providers</ref>
+
== Providers list ==
 +
List of some [[Terraform]] providers, <code>[[hashicorp/]]</code>: <ref>https://registry.terraform.io/browse/providers</ref>
 
* <code>[[provider]] "[[Terraform provider: GitHub|GitHub]]"</code>
 
* <code>[[provider]] "[[Terraform provider: GitHub|GitHub]]"</code>
 
* <code>provider "[[Terraform provider: archive|archive]]"</code>
 
* <code>provider "[[Terraform provider: archive|archive]]"</code>
 
* <code>provider "[[Terraform provider: aws|aws]]"</code>
 
* <code>provider "[[Terraform provider: aws|aws]]"</code>
* <code>provider [[CodeBuild]]</code>
+
* <code>provider "[[CodeBuild]]"</code>
* <code>provider [[Terraform provider: dns|dns]]</code>
+
* <code>provider "[[Terraform provider: dns|dns]]"</code>
  
 
* <code>provider "[[googleworkspace]]"</code>
 
* <code>provider "[[googleworkspace]]"</code>
 +
* <code>[[provider "google"]]</code>
 
* <code>provider "[[Terraform: Kubernetes provider|kubernetes]]"</code> <ref>https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs</ref>
 
* <code>provider "[[Terraform: Kubernetes provider|kubernetes]]"</code> <ref>https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs</ref>
 
* <code>provider "[[Terraform: Helm provider|helm]]"</code>  
 
* <code>provider "[[Terraform: Helm provider|helm]]"</code>  
Line 23: Line 30:
 
* <code>provider "[[Terraform: Vault provider|vault]]"</code>  
 
* <code>provider "[[Terraform: Vault provider|vault]]"</code>  
 
* <code>[[multispace_run]]</code> (Oct 2021)
 
* <code>[[multispace_run]]</code> (Oct 2021)
 +
* <code>[[Terraform provider: time|time]]</code>
 +
 +
* [[cloudflare/cloudflare]]
  
 
Use: <code>[[terraform providers (command)|terraform providers]]</code> command to list providers used in your <code>[[main.tf]]</code> file
 
Use: <code>[[terraform providers (command)|terraform providers]]</code> command to list providers used in your <code>[[main.tf]]</code> file
 
==  [[Terraform Libvirt module]] ==
 
 
provider "[[libvirt]]" {
 
  uri = "qemu:///system"
 
}
 
  
 
== [[Terraform provider: AWS]] ==
 
== [[Terraform provider: AWS]] ==
Line 38: Line 42:
 
   [[profile]] = "your_profile_name"
 
   [[profile]] = "your_profile_name"
 
  }
 
  }
 +
 +
== Related commands ==
 +
* <code>[[terraform state replace-provider]]</code>
 +
* <code>[[terraform init]] and [[terraform init -upgrade]]</code>
 +
* <code>[[terraform version]]</code>
 +
 +
== [[Terraform provider errors|Errors]] ==
 +
* <code>[[Error: Incompatible provider version]]</code>
 +
* <code>[[Error: Invalid provider configuration]]</code>
 +
* <code>[[Error: Failed to query available provider packages]]</code>
 +
* <code>[[Error: Provider produced inconsistent final plan]]</code>
 +
* <code>[[Error: Failed to install provider]]</code>
  
 
== Related terms ==
 
== Related terms ==
 +
* [[Terraform modules]]
 +
* <code>[[providers.tf]]</code>
 
* [[Terraform backends]]
 
* [[Terraform backends]]
 
* [[Terraform examples]]
 
* [[Terraform examples]]
* [[Terraform libvirt provider]]
+
* [[Terraform: resource]], [[Terraform data source: data]]
* [[Terraform modules]]
 
* [[Terraform data source: data]]
 
* [[Terraform: resource]]
 
 
* [[Terraform associate]]: Handle Terraform and [[Terraform provider|provider installation]] and versioning
 
* [[Terraform associate]]: Handle Terraform and [[Terraform provider|provider installation]] and versioning
* <code>[[terraform init]] and [[terraform init -upgrade]]</code>
+
* [[Terraform multiple providers]]
* [[Multiple providers]]
 
 
* [[Terraform plugin]]
 
* [[Terraform plugin]]
 +
* [[Terraform multiple providers]]: <code>[[alias]]</code>
 +
* <code>[[terraform_remote_state]]</code> buildin provider
 +
* <code>[[registry.terraform.io]]</code>
  
 
== See also ==
 
== See also ==
 
* {{terraform providers}}
 
* {{terraform providers}}
 +
* {{terraform modules}}
 +
  
 
[[Category:Terraform]]
 
[[Category:Terraform]]

Latest revision as of 15:16, 10 October 2024

Terraform providers are plugins to interact with cloud providers, SaaS providers, and other APIs.

Configuration:

Binary:

  • terraform providers command prints a tree of the Terraform providers used in the configuration.

Providers list[edit]

List of some Terraform providers, hashicorp/: [1]

Use: terraform providers command to list providers used in your main.tf file

Terraform provider: AWS[edit]

provider "aws" {
 version = "~> 3.38.0"
 region = "us-west-2"
 profile = "your_profile_name"
}

Related commands[edit]

Errors[edit]

Related terms[edit]

See also[edit]

  • https://registry.terraform.io/browse/providers
  • https://registry.terraform.io/providers/hashicorp/kubernetes/latest/docs
  • Advertising: