-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
84 lines (73 loc) · 2.89 KB
/
variables.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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
/**
* Copyright 2020 Quortex
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
variable "location" {
type = string
description = "The location where the resources should be created."
}
variable "resource_group_name" {
type = string
description = "The name of the resource group in which to create resources."
}
variable "storage_account_name" {
type = string
description = "The storage account name. Storage account name can only consist of lowercase letters and numbers, and must be between 3 and 24 characters long"
default = ""
}
variable "storage_containers" {
type = set(string)
description = "A set of private storage containers. Each storage container name will be prefixed by storage_account_name to ensure the uniqueness of the container name."
default = []
}
variable "storage_kind" {
type = string
description = "Defines the Kind of account. Valid options are BlobStorage, BlockBlobStorage, FileStorage, Storage and StorageV2. Changing this forces a new resource to be created."
default = "StorageV2"
}
variable "storage_tier" {
type = string
description = "Defines the Tier to use for this storage account. Valid options are Standard and Premium. For FileStorage accounts only Premium is valid. Changing this forces a new resource to be created."
default = "Standard"
}
variable "storage_replication_type" {
type = string
description = "Defines the type of replication to use for this storage account. Valid options are LRS, GRS, RAGRS and ZRS."
default = "RAGRS"
}
variable "tags" {
type = map(any)
description = "Tags to apply to resources. A list of key->value pairs."
default = {}
}
variable "last_access_time_enabled" {
type = bool
description = "Is the last access time based tracking enabled?"
default = false
}
variable "allow_nested_items_to_be_public" {
type = bool
description = "(Optional) Allow or disallow nested items within this Account to opt into being public"
default = true
}
variable "min_tls_version" {
type = string
description = "(Optional) The minimum supported TLS version for the storage account. Possible values are TLS1_0, TLS1_1, and TLS1_2"
default = "TLS1_2"
}
variable "cross_tenant_replication_enabled" {
type = bool
default = true
description = "Should cross Tenant replication be enabled"
}