Difference between revisions of "Terraform: resource"

From wikieduonline
Jump to navigation Jump to search
 
(38 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>
** [[Terraform resource: aws_key_pair]]
+
** <code>[[Terraform resource: aws_key_pair|aws_key_pair]]</code>
 
** <code>[[aws_lb_listener_rule]]</code>
 
** <code>[[aws_lb_listener_rule]]</code>
 
** <code>[[aws_security_group]]</code>
 
** <code>[[aws_security_group]]</code>
 +
** <code>[[Terraform resource: aws_db_instance|aws_db_instance]]</code>
 
* <code>[[source (Terraform modules)|source]]</code>
 
* <code>[[source (Terraform modules)|source]]</code>
 +
* <code>[[multispace_run]]</code>
 +
* <code>[[Terraform resource: random string|random_string]]</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]]: [[Terraform modules]]
+
* [[Terraform modules]]
* <code>[[terraform plan]]</code>
+
* [[Terraform data sources]]: <code>[[data.]]</code>
 +
* [[Terraform provider]]
 
* <code>[[terraform import]]</code>
 
* <code>[[terraform import]]</code>
 +
* <code>[[gitlab_deploy_token]]</code>
 +
* <code>[[terraform show (grep resource)]]</code>
 +
* <code>[[~]], [[versions.tf]]</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 resources}}
 
* {{terraform aws resources}}
* {{terraform cmd}}
+
* {{terraform resources}}
* {{Terraform}}
 
  
 
[[Category:Terraform]]
 
[[Category:Terraform]]

Latest revision as of 09:34, 7 February 2024

Advertising: