Skip to content

Commit

Permalink
Create instance.tf
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanjogsharma authored Dec 11, 2019
1 parent 73d789d commit f1498f2
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions terraform-aws/lesson5-terraform-variables/instance.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
resource "aws_instance" "example" {
ami = "ami-0c64dd618a49aeee8"
instance_type = var.ec2_type
count = var.instance_count

tags = {
Name = "Terraform_demo"
}
}

0 comments on commit f1498f2

Please sign in to comment.