Skip to content

Commit

Permalink
Create main.tf
Browse files Browse the repository at this point in the history
  • Loading branch information
srinivas1987devops authored Dec 25, 2021
1 parent a6b2e12 commit e24123d
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions main.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# Configure the AWS Provider
provider "aws" {
region = var.region
profile = var.profile
}
resource "aws_instance" "web7" {
ami = "${lookup(var.ami, var.region)}"
instance_type = "${lookup(var.instancetype, var.region)}"

tags = {
Name = "HelloWorld9"
}
}

0 comments on commit e24123d

Please sign in to comment.