|
1 | 1 | variable "create_resource_group" { |
2 | 2 | description = "Whether to create resource group and use it for all networking resources" |
3 | 3 | default = false |
| 4 | + type = bool |
4 | 5 | } |
5 | 6 |
|
6 | 7 | variable "resource_group_name" { |
7 | 8 | description = "A container that holds related resources for an Azure solution" |
8 | 9 | default = "rg-demo-westeurope-01" |
| 10 | + type = string |
9 | 11 | } |
10 | 12 |
|
11 | 13 | variable "location" { |
12 | 14 | description = "The location/region to keep all your network resources. To get the list of all locations with table format from azure cli, run 'az account list-locations -o table'" |
13 | 15 | default = "westeurope" |
| 16 | + type = string |
14 | 17 | } |
15 | 18 |
|
16 | 19 | variable "storage_account_name" { |
17 | 20 | description = "The name of the azure storage account" |
18 | 21 | default = "" |
| 22 | + type = string |
19 | 23 | } |
20 | 24 |
|
21 | 25 | variable "account_kind" { |
22 | 26 | description = "The type of storage account. Valid options are BlobStorage, BlockBlobStorage, FileStorage, Storage and StorageV2." |
23 | 27 | default = "StorageV2" |
| 28 | + type = string |
24 | 29 | } |
25 | 30 |
|
26 | 31 | variable "skuname" { |
27 | 32 | description = "The SKUs supported by Microsoft Azure Storage. Valid options are Premium_LRS, Premium_ZRS, Standard_GRS, Standard_GZRS, Standard_LRS, Standard_RAGRS, Standard_RAGZRS, Standard_ZRS" |
28 | 33 | default = "Standard_RAGRS" |
| 34 | + type = string |
29 | 35 | } |
30 | 36 |
|
31 | 37 | variable "access_tier" { |
32 | 38 | description = "Defines the access tier for BlobStorage and StorageV2 accounts. Valid options are Hot and Cool." |
33 | 39 | default = "Hot" |
| 40 | + type = string |
34 | 41 | } |
35 | 42 |
|
36 | 43 | variable "min_tls_version" { |
37 | 44 | description = "The minimum supported TLS version for the storage account" |
38 | 45 | default = "TLS1_2" |
| 46 | + type = string |
39 | 47 | } |
40 | 48 |
|
41 | 49 | variable "blob_soft_delete_retention_days" { |
42 | 50 | description = "Specifies the number of days that the blob should be retained, between `1` and `365` days. Defaults to `7`" |
43 | 51 | default = 7 |
| 52 | + type = number |
44 | 53 | } |
45 | 54 |
|
46 | 55 | variable "container_soft_delete_retention_days" { |
47 | 56 | description = "Specifies the number of days that the blob should be retained, between `1` and `365` days. Defaults to `7`" |
48 | 57 | default = 7 |
| 58 | + type = number |
49 | 59 | } |
50 | 60 |
|
51 | 61 | variable "enable_versioning" { |
52 | 62 | description = "Is versioning enabled? Default to `false`" |
53 | 63 | default = false |
| 64 | + type = bool |
54 | 65 | } |
55 | 66 |
|
56 | 67 | variable "last_access_time_enabled" { |
57 | 68 | description = "Is the last access time based tracking enabled? Default to `false`" |
58 | 69 | default = false |
| 70 | + type = bool |
59 | 71 | } |
60 | 72 |
|
61 | 73 | variable "change_feed_enabled" { |
62 | 74 | description = "Is the blob service properties for change feed events enabled?" |
63 | 75 | default = false |
| 76 | + type = bool |
64 | 77 | } |
65 | 78 |
|
66 | 79 | variable "enable_advanced_threat_protection" { |
67 | 80 | description = "Boolean flag which controls if advanced threat protection is enabled." |
68 | 81 | default = false |
| 82 | + type = bool |
69 | 83 | } |
70 | 84 |
|
71 | 85 | variable "network_rules" { |
@@ -106,6 +120,7 @@ variable "lifecycles" { |
106 | 120 | variable "identity_ids" { |
107 | 121 | description = "Specifies a list of user managed identity ids to be assigned. This is required when `type` is set to `UserAssigned` or `SystemAssigned, UserAssigned`" |
108 | 122 | default = null |
| 123 | + type = list(string) |
109 | 124 | } |
110 | 125 |
|
111 | 126 | variable "tags" { |
|
0 commit comments