Difference between revisions of "Terraform: resource"

From wikieduonline
Jump to navigation Jump to search
Line 10: Line 10:
 
     Name = "ExampleAppServerInstance"
 
     Name = "ExampleAppServerInstance"
 
   }
 
   }
 +
 +
* [[Terraform resource: aws_key_pair]]
  
 
==Related terms==
 
==Related terms==

Revision as of 11:53, 2 September 2021


AWS provider

resource "aws_instance" "app_server" {
  ami           = "ami-08d70e59c07c61a3a"
  instance_type = "t2.micro"

  tags = {
    Name = "ExampleAppServerInstance"
  }

Related terms

See also

Advertising: