Skip to content

Commit

Permalink
Merge pull request #11 from MLH-Fellowship/sample-terraform
Browse files Browse the repository at this point in the history
Add Terraform configuration to benchrunner branch
  • Loading branch information
emilyllim authored Oct 23, 2023
2 parents 7d9d788 + 0211600 commit 308b756
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -185,4 +185,3 @@ terraform.log

# Ignore venv directory
venv/

23 changes: 23 additions & 0 deletions terraform/main.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 4.16"
}
}

required_version = ">= 1.2.0"
}

provider "aws" {
region = "us-west-2"
}

resource "aws_instance" "app_server" {
ami = "ami-830c94e3"
instance_type = "t2.micro"

tags = {
Name = "ExampleAppServerInstance"
}
}

0 comments on commit 308b756

Please sign in to comment.