Skip to content

Commit 3c7cdf1

Browse files
committed
Add subscription id as terraform variable for azure/capz resources
Signed-off-by: Mark Rossett <[email protected]>
1 parent 2b7b3e9 commit 3c7cdf1

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

infra/azure/terraform/capz/main.tf

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ limitations under the License.
1616

1717
provider "azurerm" {
1818
features {}
19+
subscription_id = var.subscription_id
1920
}
2021

2122
terraform {

infra/azure/terraform/capz/variables.tf

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,3 +31,9 @@ variable "storage_account_name" {
3131
default = "k8sprowstoragecomm"
3232
description = "Name of the storage account."
3333
}
34+
35+
variable "subscription_id" {
36+
type = string
37+
default = "46678f10-4bbb-447e-98e8-d2829589f2d8"
38+
description = "Azure Subscription ID to use for the azurerm provider."
39+
}

0 commit comments

Comments
 (0)