Skip to content

Commit aa06752

Browse files
committed
chore: update backend var
1 parent a4d1f47 commit aa06752

File tree

2 files changed

+1
-20
lines changed

2 files changed

+1
-20
lines changed

.github/workflows/deploy_azure_infra.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ jobs:
3535
- name: "Terraform init"
3636
run : |
3737
pwd
38-
terraform init -backend-config="${{ github.event.deployment_environment }}-backend-config"
38+
terraform init -backend-config="dev-backend-config"
3939
4040
- name: Terraform Apply
4141
if: github.event_name == 'push'

create-azure-infra/provider.tf

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,3 @@
11
provider "azurerm" {
22
features {}
33
}
4-
5-
resource "azurerm_resource_group" "example" {
6-
name = "example-rg"
7-
location = "East US"
8-
}
9-
10-
resource "azurerm_storage_account" "example" {
11-
name = "examplestorageacct" # Unique name
12-
resource_group_name = azurerm_resource_group.example.name
13-
location = azurerm_resource_group.example.location
14-
account_tier = "Standard"
15-
account_replication_type = "LRS"
16-
}
17-
18-
resource "azurerm_storage_container" "example" {
19-
name = "tfstate"
20-
storage_account_name = azurerm_storage_account.example.name
21-
container_access_type = "private"
22-
}

0 commit comments

Comments
 (0)