User Tools

Site Tools


configure_labels

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
configure_labels [2017/08/04 22:54] walkeradminconfigure_labels [2017/08/05 14:41] walkeradmin
Line 3: Line 3:
 \\  \\ 
 \\  \\ 
 +<color #ed1c24>This page contains errors (Key Name) and needs to be fixed</color>
  
 ---- ----
Line 8: Line 9:
 \\  \\ 
 \\  \\ 
-Below is a single EC2 Instance in AWS, and you can see the two labels that are in the Terraform script.+Below is a single EC2 Instance in AWS, and you can see the label that is in the Terraform script.
 \\  \\ 
 \\  \\ 
-{{ :awslabels001b.jpg?900 |}}+{{ :awslabels001c.jpg?500 |}}
 \\  \\ 
 \\  \\ 
-On the left we have 'Name' (click the image to enlarge it) and on the right we have the 'Key Name'. These are text labels we can specify in our scripts. We can see these in the Terraform script below.+On the left we have 'Name' (click the image to enlarge it) This text label we can specify in our scripts. We can see this in the Terraform script below.
 \\  \\ 
-<sxh text; first-line: 01; highlight: [10,13];>+<sxh text; first-line: 01; highlight: [13];>
 provider "aws" { provider "aws" {
         access_key = "JLJBK63HMPBC7DC150PA"         access_key = "JLJBK63HMPBC7DC150PA"
Line 26: Line 27:
         ami = "ami-40a8bf24"         ami = "ami-40a8bf24"
         instance_type = "t2.micro"         instance_type = "t2.micro"
-        key_name = "TestWebSvr"+        key_name = "TestSvr"
         security_groups= ["launch-wizard-1"]         security_groups= ["launch-wizard-1"]
         tags {         tags {
Line 38: Line 39:
 \\  \\ 
 <file> <file>
-key_name = "TestWebSvr" 
 tags { tags {
 Name = "terraform-instance" Name = "terraform-instance"
configure_labels.txt · Last modified: 2023/03/09 22:35 by 127.0.0.1