Difference between revisions of "Terraform: resource"

From wikieduonline
Jump to navigation Jump to search
 
(18 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 23: Line 26:
 
* <code>[[local_file]]</code>
 
* <code>[[local_file]]</code>
 
* <code>[[null_resource]]</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 modules]]
 +
* [[Terraform data sources]]: <code>[[data.]]</code>
 
* [[Terraform provider]]
 
* [[Terraform provider]]
* <code>[[terraform init]]</code>
 
* <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: