-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmain.tf
34 lines (28 loc) · 746 Bytes
/
main.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
# Configure the Azure provider
terraform {
required_providers {
azurerm = {
source = "hashicorp/azurerm"
version = "~> 3.92.0"
}
}
required_version = ">= 1.1.0"
}
provider "azurerm" {
features {}
}
resource "azurerm_resource_group" "front_end_rg" {
name = "rg-frontend-sand-ne-001"
location = "eastus"
}
resource "azurerm_storage_account" "front_end_storage_account" {
name = "stgsandfrontendne024"
location = "eastus"
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"
}
}