Difference between revisions of "Terraform providers: provider"

From wikieduonline
Jump to navigation Jump to search
 
(72 intermediate revisions by 6 users not shown)
Line 1: Line 1:
https://www.terraform.io/docs/language/providers/configuration.html
+
Terraform providers are [[plugins]] to interact with [[cloud providers]], [[SaaS providers]], and other [[APIs]].
* <code>[[provider.tf]]</code> configuration file
 
  
* <code>[[terraform providers (command)|terraform providers]]</code> command
+
* https://www.terraform.io/language/providers
 +
* https://www.terraform.io/docs/language/providers/configuration.html
 +
* [[Terraform registry|Registry]]: https://registry.terraform.io/browse/providers
  
 +
Configuration:
 +
* <code>[[provider.tf]]</code> and <code>[[provider]]</code> keyword
 +
* <code>[[.terraform/providers/]]</code>
  
List of some [[terraform]] providers: <ref>https://www.terraform.io/docs/providers/index.html</ref>
+
Binary:
 +
* <code>[[terraform providers (command)|terraform providers]]</code> command prints a tree of the Terraform providers used in the configuration.
 +
 
 +
== 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 AWS provider|aws]]"</code>
+
* <code>provider "[[Terraform provider: archive|archive]]"</code>
* <code>provider [[CodeBuild]]</code>
+
* <code>provider "[[Terraform provider: aws|aws]]"</code>
* <code>provider "[[Terraform libvirt provider|libvirt]]" </code>
+
* <code>provider "[[CodeBuild]]"</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>  
* <code>[[tfe]]</code>
+
* <code>provider "[[Terraform Heroku provider|Heroku]]</code>
 +
* <code>provider "[[Terraform provider: template|template]]</code> (Deprecated)
 +
* <code>provider "[[Terraform provider: tfe|tfe]]"</code>
 +
* <code>provider "[[Terraform libvirt provider|libvirt]]" </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 30: 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 examples]]
 
* [[Terraform examples]]
* [[Terraform libvirt provider]]
+
* [[Terraform: resource]], [[Terraform data source: data]]
* [[Terraform modules]]
 
* [[Vagrant]]
 
* [[AWS EC2 Terraform example]]
 
* [[Terraform: Data sources]]
 
 
* [[Terraform associate]]: Handle Terraform and [[Terraform provider|provider installation]] and versioning
 
* [[Terraform associate]]: Handle Terraform and [[Terraform provider|provider installation]] and versioning
 +
* [[Terraform multiple providers]]
 +
* [[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 aws resources}}
+
* {{terraform providers}}
* {{terraform cmd}}
+
* {{terraform modules}}
* {{terraform}}
+
 
  
 
[[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: