Difference between revisions of "Terraform: resource"

From wikieduonline
Jump to navigation Jump to search
 
(21 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 
* https://www.terraform.io/docs/language/resources/index.html
 
* https://www.terraform.io/docs/language/resources/index.html
 
* Syntax: https://www.terraform.io/docs/language/resources/syntax.html
 
* Syntax: https://www.terraform.io/docs/language/resources/syntax.html
 +
* Naming convention: https://cloud.google.com/docs/terraform/best-practices-for-terraform#naming-convention
  
 
== [[AWS provider]] ==
 
== [[AWS provider]] ==
Line 10: Line 11:
 
     Name = "ExampleAppServerInstance"
 
     Name = "ExampleAppServerInstance"
 
   }
 
   }
 +
 +
* [[Terraform AWS resources]]
  
 
== Resources ==
 
== Resources ==
* AWS
+
* [[Terraform AWS|AWS]]
 
** <code>[[Terraform resource: aws_instance|aws_instance]]</code>
 
** <code>[[Terraform resource: aws_instance|aws_instance]]</code>
 
** <code>[[Terraform resource: aws_key_pair|aws_key_pair]]</code>
 
** <code>[[Terraform resource: aws_key_pair|aws_key_pair]]</code>
Line 22: Line 25:
 
* <code>[[Terraform resource: random string|random_string]]</code>
 
* <code>[[Terraform resource: random string|random_string]]</code>
 
* <code>[[local_file]]</code>
 
* <code>[[local_file]]</code>
 +
* <code>[[null_resource]]</code>
 +
* <code>[[aws_ecs_service]]</code>
 +
 +
== Errors ==
 +
* <code>[[Error: Missing name for resource]]</code>
  
 
== Related terms ==
 
== Related terms ==
 +
* [[Terraform modules]]
 +
* [[Terraform data sources]]: <code>[[data.]]</code>
 
* [[Terraform provider]]
 
* [[Terraform provider]]
* [[Terraform]]: [[Terraform modules]]
 
* <code>[[terraform plan]]</code>
 
 
* <code>[[terraform import]]</code>
 
* <code>[[terraform import]]</code>
 
* <code>[[gitlab_deploy_token]]</code>
 
* <code>[[gitlab_deploy_token]]</code>
 
* <code>[[terraform show (grep resource)]]</code>
 
* <code>[[terraform show (grep resource)]]</code>
* <code>[[~]]</code>
+
* <code>[[~]], [[versions.tf]]</code>
 
* <code>resources = [ "*" ]</code>
 
* <code>resources = [ "*" ]</code>
 +
* <code>[[.name]]</code>
 +
* <code>[[aws-nuke]]</code>
 +
* <code>[[aws_network_interface]]</code>
  
 
== See also ==
 
== See also ==
 +
* {{tf ec2}}
 
* {{Terraform aws data sources}}
 
* {{Terraform aws data sources}}
 
* {{terraform aws resources}}
 
* {{terraform aws resources}}
 
* {{terraform resources}}
 
* {{terraform resources}}
* {{Terraform}}
 
  
 
[[Category:Terraform]]
 
[[Category:Terraform]]

Latest revision as of 09:34, 7 February 2024

Advertising: