Skip to content

Commit

Permalink
Added variable for region
Browse files Browse the repository at this point in the history
  • Loading branch information
qtsathish committed Mar 1, 2021
1 parent 6a45386 commit 3a83950
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion Feb21/ntier-tf-aws/main.tf
Original file line number Original file line Diff line number Diff line change
@@ -1,5 +1,12 @@
provider "aws" { provider "aws" {
region = "us-west-2" region = var.region
}

variable "region" {
type = string
default = "us-west-2"
description = "region in which ntier has to be created"

} }


# we need to create a vpc resource # we need to create a vpc resource
Expand Down
Binary file modified Feb21/ntier-tf-aws/ntier.plan
Binary file not shown.

0 comments on commit 3a83950

Please sign in to comment.