-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathblobstore.tf
53 lines (42 loc) · 1.18 KB
/
blobstore.tf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
module "azure_blobstore" {
source = "../../../modules/blobstore/azure"
az_subscription_id = var.az_subscription_id
az_client_id = var.az_client_id
az_client_secret = var.az_client_secret
az_tenant_id = var.az_tenant_id
resource_group_name = var.resource_group_name
storage_account_name = var.storage_account_name
storage_container_name = var.storage_container_name
}
variable "az_subscription_id" {
description = "Azure Subscription (id)"
type = string
sensitive = true
}
variable "az_client_id" {
description = "Azure Service Principal (appId)"
type = string
sensitive = true
}
variable "az_client_secret" {
description = "Azure Service Principal (password)"
type = string
sensitive = true
}
variable "az_tenant_id" {
description = "Azure Service Principal (tenant)"
type = string
sensitive = true
}
variable "resource_group_name" {}
variable "storage_account_name" {}
variable "storage_container_name" {}
output "storage_account_location" {
value = module.azure_blobstore.location
}
output "storage_container_id" {
value = module.azure_blobstore.id
}
output "storage_container_resource_manager_id" {
value = module.azure_blobstore.resource_manager_id
}