Skip to content

Commit

Permalink
Add initial terraform (#185)
Browse files Browse the repository at this point in the history
Adds initial terraform after connecting terraform cloud
  • Loading branch information
elijahcarrel authored Sep 10, 2023
1 parent 2873680 commit 8194f13
Show file tree
Hide file tree
Showing 5 changed files with 47 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ tsconfig.tsbuildinfo
next-env.d.ts
.vscode
.env*.local
.terraform
25 changes: 25 additions & 0 deletions infra/.terraform.lock.hcl

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions infra/imports.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
import {
to = aws_s3_bucket.syndication_images
id = "syndication-images"
}
3 changes: 3 additions & 0 deletions infra/syndication-images.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
resource "aws_s3_bucket" "syndication_images" {
bucket = "syndication-images"
}
14 changes: 14 additions & 0 deletions infra/versions.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
terraform {
required_providers {
aws = {
source = "hashicorp/aws"
version = "~> 5.16"
}
}

required_version = ">= 1.5.7"
}

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

1 comment on commit 8194f13

@vercel
Copy link

@vercel vercel bot commented on 8194f13 Sep 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.