Skip to content

Commit

Permalink
Add provider to tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ieuanb74 committed Sep 6, 2024
1 parent 1cd59a2 commit 02e173f
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/linux_vm_extensions.tftest.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ provider "azurerm" {
skip_provider_registration = true
}

provider "azurerm" {
alias = "dcr"
features {}
subscription_id = var.env=="prod" || var.env=="production" ? "8999dec3-0104-4a27-94ee-6588559729d1" : var.env=="sbox" || var.env=="sandbox" ? "bf308a5c-0624-4334-8ff8-8dca9fd43783" : "1c4f0704-a29e-403d-b719-b90c34ef14c9"
skip_provider_registration = true
}

# Default variables for this test
variables {
env = "nonprod"
Expand Down
7 changes: 7 additions & 0 deletions tests/linux_vmss_extensions.tftest.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ provider "azurerm" {
skip_provider_registration = true
}

provider "azurerm" {
alias = "dcr"
features {}
subscription_id = var.env=="prod" || var.env=="production" ? "8999dec3-0104-4a27-94ee-6588559729d1" : var.env=="sbox" || var.env=="sandbox" ? "bf308a5c-0624-4334-8ff8-8dca9fd43783" : "1c4f0704-a29e-403d-b719-b90c34ef14c9"
skip_provider_registration = true
}

# Default variables for this test
variables {
env = "nonprod"
Expand Down
7 changes: 7 additions & 0 deletions tests/windows_vm_extensions.tftest.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ provider "azurerm" {
skip_provider_registration = true
}

provider "azurerm" {
alias = "dcr"
features {}
subscription_id = var.env=="prod" || var.env=="production" ? "8999dec3-0104-4a27-94ee-6588559729d1" : var.env=="sbox" || var.env=="sandbox" ? "bf308a5c-0624-4334-8ff8-8dca9fd43783" : "1c4f0704-a29e-403d-b719-b90c34ef14c9"
skip_provider_registration = true
}

# Default variables for this test
variables {
env = "nonprod"
Expand Down
7 changes: 7 additions & 0 deletions tests/windows_vmss_extensions.tftest.hcl
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,13 @@ provider "azurerm" {
skip_provider_registration = true
}

provider "azurerm" {
alias = "dcr"
features {}
subscription_id = var.env=="prod" || var.env=="production" ? "8999dec3-0104-4a27-94ee-6588559729d1" : var.env=="sbox" || var.env=="sandbox" ? "bf308a5c-0624-4334-8ff8-8dca9fd43783" : "1c4f0704-a29e-403d-b719-b90c34ef14c9"
skip_provider_registration = true
}

# Default variables for this test
variables {
env = "nonprod"
Expand Down

0 comments on commit 02e173f

Please sign in to comment.