Skip to content

Commit f7d181c

Browse files
committed
Added subscription ID to terraform via actions workflow
1 parent a8f15b1 commit f7d181c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/deploy-azure.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,8 @@ jobs:
4646
terraform apply -auto-approve \
4747
-var="environment=${{ env.ENVIRONMENT }}" \
4848
-var="memgraph_username=${{ secrets.MEMGRAPH_USERNAME }}" \
49-
-var="memgraph_password=${{ secrets.MEMGRAPH_PASSWORD }}"
49+
-var="memgraph_password=${{ secrets.MEMGRAPH_PASSWORD }}" \
50+
-var="subscription_id=${{ secrets.AZURE_SUBSCRIPTION_ID }}"
5051
5152
- name: Get AKS Credentials
5253
run: |

infra/azure/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
provider "azurerm" {
22
features {}
3+
subscription_id = var.subscription_id
34
}
45

56
# Use existing GitHub resource group

0 commit comments

Comments
 (0)