File tree Expand file tree Collapse file tree 2 files changed +1
-20
lines changed Expand file tree Collapse file tree 2 files changed +1
-20
lines changed Original file line number Diff line number Diff line change 35
35
- name : " Terraform init"
36
36
run : |
37
37
pwd
38
- terraform init -backend-config="${{ github.event.deployment_environment }} -backend-config"
38
+ terraform init -backend-config="dev -backend-config"
39
39
40
40
- name : Terraform Apply
41
41
if : github.event_name == 'push'
Original file line number Diff line number Diff line change 1
1
provider "azurerm" {
2
2
features {}
3
3
}
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
- }
You can’t perform that action at this time.
0 commit comments