Difference between revisions of "Terraform resource: aws instance"

From wikieduonline
Jump to navigation Jump to search
Line 1: Line 1:
 
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/instance
 
https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/instance
  
== Example ==
+
== Basic example ==
  
 
  [[resource]] "[[aws_instance]]" "MYexample" {
 
  [[resource]] "[[aws_instance]]" "MYexample" {
Line 11: Line 11:
 
   }
 
   }
 
  }
 
  }
 +
 +
== Examples ==
 +
* [[AWS instance example with aws_ami lookup and key_name]]:  <code>[[aws instance]]</code>, <code>[[aws_ami]]</code>
 +
* [[AWS instance example with aws_ami lookup]]:  <code>[[aws instance]]</code>, <code>[[aws_ami]]</code>
 +
* [[AWS instance example: main.tf]]: <code>[[aws instance]]</code>
 +
* [[AWS instance example creating VPC]]
  
 
== Arguments ==  
 
== Arguments ==  

Revision as of 03:14, 2 February 2022

Advertising: