Difference between revisions of "Main.tf"

From wikieduonline
Jump to navigation Jump to search
(Created page with "{{Draft}} == See also == * {{terraform}} Category:Terraform")
 
 
(30 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{Draft}}
+
{{lowercase}}
  
 +
[[Terraform examples]]:
 +
* [[AWS instance example: main.tf]]
 +
* [[Deploy EKS cluster using Terraform]]
  
 +
* [[Terraform resources]]
 +
 +
== [[Terraform providers]] ==
 +
[[Terraform: provider|provider]] "[[random]]" {
 +
}
 +
 +
provider "aws" {
 +
  profile = "[[default]]"
 +
}
 +
 +
[[provider "aws"]] {
 +
  version = "~> 3.38.0"
 +
  region = "us-west-2"
 +
  [[profile]] = "your_profile_name"
 +
}
 +
 +
provider "mysql" {
 +
  endpoint = "my-database.example.com:3306"
 +
  username = "app-user"
 +
  password = "app-password"
 +
}
 +
 +
== Errors ==
 +
[[error: error validating]] "[[main.tf]]": error validating data: invalid object to validate; if you choose to ignore these errors, turn validation off with [[--validate=false]]
 +
 +
== Related commands ==
 +
* <code>[[terraform init]]</code>, <code>[[terraform plan]]</code>, <code>[[terraform apply]]</code>
 +
* <code>[[variables.tf]]</code>
 +
* <code>[[outputs.tf]]</code>
 +
* <code>[[.terraform.d/]]</code>
 +
* Examples: [[AWS EC2 Terraform example]]
 +
* [[Terraform S3 backend]]
 +
* [[Best practices for using Terraform]]
  
 
== See also ==  
 
== See also ==  
* {{terraform}}
+
* {{main.tf}}
 +
* {{tf files}}
 +
* {{terraform apply}}
  
 
[[Category:Terraform]]
 
[[Category:Terraform]]

Latest revision as of 21:34, 11 February 2024

Advertising: