Skip to content

Commit

Permalink
Added changes
Browse files Browse the repository at this point in the history
  • Loading branch information
qtsathish committed Feb 25, 2021
1 parent 2f3a92c commit ba07820
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@
*.pem
# Module directory
.terraform/
*.hcl
10 changes: 10 additions & 0 deletions Feb21/hello-tf/main.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
provider "aws" {
region = "ap-south-1"
access_key = "your access key"
secret_key = "your secret key"
}

resource "aws_s3_bucket" "mybucket" {
bucket = "qts3fromtffeb21"
}

13 changes: 13 additions & 0 deletions Feb21/ntier-tf-aws/main.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
provider "aws" {
region = "us-west-2"
}

# we need to create a vpc resource
resource "aws_vpc" "ntiervpc" {
cidr_block = "192.168.0.0/16"

tags = {
"Name" = "from tf"
}

}

0 comments on commit ba07820

Please sign in to comment.