-
Notifications
You must be signed in to change notification settings - Fork 77
Expand file tree
/
Copy pathvariables.table.tf
More file actions
62 lines (54 loc) · 2.45 KB
/
variables.table.tf
File metadata and controls
62 lines (54 loc) · 2.45 KB
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
variable "table_encryption_key_type" {
type = string
default = null
description = "(Optional) The encryption type of the table service. Possible values are `Service` and `Account`. Changing this forces a new resource to be created. Default value is `Service`."
}
variable "tables" {
type = map(object({
name = string
signed_identifiers = optional(list(object({
id = string
access_policy = optional(object({
expiry_time = string
permission = string
start_time = string
}))
})))
role_assignments = optional(map(object({
role_definition_id_or_name = string
principal_id = string
principal_type = optional(string, null)
description = optional(string, null)
skip_service_principal_aad_check = optional(bool, false)
condition = optional(string, null)
condition_version = optional(string, null)
delegated_managed_identity_resource_id = optional(string, null)
})), {})
timeouts = optional(object({
create = optional(string)
delete = optional(string)
read = optional(string)
update = optional(string)
}))
}))
default = {}
description = <<-EOT
- `name` - (Required) The name of the storage table. Only Alphanumeric characters allowed, starting with a letter. Must be unique within the storage account the table is located. Changing this forces a new resource to be created.
---
`acl` block supports the following:
- `id` - (Required) The ID which should be used for this Shared Identifier.
---
`access_policy` block supports the following:
- `expiry` - (Required) The ISO8061 UTC time at which this Access Policy should be valid until.
- `permissions` - (Required) The permissions which should associated with this Shared Identifier.
- `start` - (Required) The ISO8061 UTC time at which this Access Policy should be valid from.
---
`timeouts` block supports the following:
- `create` - (Defaults to 30 minutes) Used when creating the Storage Table.
- `delete` - (Defaults to 30 minutes) Used when deleting the Storage Table.
- `read` - (Defaults to 5 minutes) Used when retrieving the Storage Table.
- `update` - (Defaults to 30 minutes) Used when updating the Storage Table.
Supply role assignments in the same way as for `var.role_assignments`.
EOT
nullable = false
}