Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
VITE_PRODUCTS_KEY=174c9c59220548e3862813186f81b6d4
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,9 @@ dist-ssr
*.njsproj
*.sln
*.sw?

#Terraform files and folders
infrastructure/.terraform
infrastructure/.terraform.lock.hcl
infrastructure/terraform.tfstate
infrastructure/*.backup
2 changes: 2 additions & 0 deletions infrastructure/main.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
# main.tf
# (Nothing to be put here , for now)
14 changes: 14 additions & 0 deletions infrastructure/providers.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
terraform {
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = "~> 3.92.0"
}
}

required_version = ">= 1.1.0"
}

provider "azurerm" {
features {}
}
5 changes: 5 additions & 0 deletions infrastructure/resource_group.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
resource "azurerm_resource_group" "front_end_rg" {
name = "rg-frontend-sand-ne-001"
location = "northeurope"
}

13 changes: 13 additions & 0 deletions infrastructure/storage_account.tf
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
resource "azurerm_storage_account" "front_end_storage_account"{
name = "stgsandfrontendnevks001"
location = "northeurope"

account_replication_type = "LRS"
account_tier = "Standard"
account_kind = "StorageV2"
resource_group_name = azurerm_resource_group.front_end_rg.name

static_website{
index_document = "index.html"
}
}
Loading