-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvariables.tf
94 lines (91 loc) · 2.78 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
85
86
87
88
89
90
91
92
93
94
################################################################################
# Blobstore Azure
################################################################################
variable "nexus_blobstore_azure" {
description = "Blobstore Azure."
type = list(object({
name = string
bucket_configuration = object({
account_name = string
container_name = string
authentication = object({
authentication_method = string
account_key = optional(string)
})
})
soft_quota = optional(object({
limit = optional(number)
type = optional(string)
}))
}))
default = []
}
################################################################################
# Blobstore File
################################################################################
variable "nexus_blobstore_file" {
description = "Blobstore File."
type = list(object({
name = string
path = string
soft_quota = object({
limit = optional(number)
type = optional(string)
})
}))
default = []
}
################################################################################
# Blobstore Group
################################################################################
variable "nexus_blobstore_group" {
description = "Blobstore Group."
type = list(object({
name = string
fill_policy = string
members = set(string)
soft_quota = object({
limit = optional(number)
type = optional(string)
})
}))
default = []
}
################################################################################
# Blobstore S3
################################################################################
variable "nexus_blobstore_s3" {
description = "Blobstore S3."
type = list(object({
name = string
bucket_configuration = object({
bucket = object({
name = string
region = string
expiration = number
prefix = optional(string, null)
})
bucket_security = optional(object({
access_key_id = optional(string, null)
role = optional(string, null)
secret_access_key = optional(string, null)
session_token = optional(string, null)
}))
encryption = optional(object({
encryption_key = optional(string, null)
encryption_type = optional(string, null)
}))
advanced_bucket_connection = optional(object({
endpoint = optional(string, null)
force_path_style = optional(bool, null)
max_connection_pool_size = optional(number, null)
signer_type = optional(string, null)
}))
})
soft_quota = object({
limit = optional(number)
type = optional(string)
})
}))
default = []
}