-
Notifications
You must be signed in to change notification settings - Fork 1
/
variables.tf
132 lines (110 loc) · 4.11 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
# Copyright 2024 Solace Corporation. All rights reserved.
#
# 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.
# Input variable definitions
# Required variables
variable "msg_vpn_name" {
description = "The name of the Message VPN"
type = string
}
variable "client_identifier_type" {
description = "The type of client identifier to be configured. Must be one of `client_username` or `authorization_group`"
type = string
validation {
condition = contains(["client_username", "authorization_group"], var.client_identifier_type)
error_message = "The client_identifier_type must be one of `client_username` or `authorization_group`"
}
}
variable "client_identifier_name" {
description = "The name of the client identifier"
type = string
}
variable "acl_profile_name" {
description = "The ACL Profile to be used"
type = string
}
variable "client_profile_name" {
description = "The client profile to be used as common configuration properties to the client"
type = string
}
# Optional variables
variable "enabled" {
description = "Enable or disable the client"
type = bool
default = true
}
variable "guaranteed_endpoint_permission_override_enabled" {
description = "Enable or disable guaranteed endpoint permission override for the Client Username"
type = bool
default = null
}
variable "order_after_authorization_group_name" {
description = "Lower the priority to be less than this group"
type = string
default = null
sensitive = true
}
variable "order_before_authorization_group_name" {
description = "Raise the priority to be greater than this group"
type = string
default = null
sensitive = true
}
variable "password" {
description = "The password for the Client Username"
type = string
default = null
sensitive = true
}
variable "subscription_manager_enabled" {
description = "Enable or disable the subscription management capability of the Client Username"
type = bool
default = null
}
variable "acl_profile_publish_topic_exceptions" {
description = "A set of exceptions to the default action to take when a client using the ACL Profile publishes to a topic in the Message VPN"
type = set(object({
publish_topic_exception = string
publish_topic_exception_syntax = string
}))
default = []
}
variable "acl_profile_subscribe_share_name_exceptions" {
description = "A set of exceptions to the default action to take when a client using the ACL Profile subscribes to a share-name subscription in the Message VPN"
type = set(object({
subscribe_share_name_exception = string
subscribe_share_name_exception_syntax = string
}))
default = []
}
variable "acl_profile_subscribe_topic_exceptions" {
description = "A set of exceptions to the default action to take when a client using the ACL Profile subscribes to a topic in the Message VPN"
type = set(object({
subscribe_topic_exception = string
subscribe_topic_exception_syntax = string
}))
default = []
}
variable "acl_profile_client_connect_exceptions" {
description = "List of client connect exceptions to the default action to take when a client using the ACL Profile connects to the Message VPN. Exceptions must be expressed as an IP address/netmask in CIDR form"
type = list(string)
default = []
}
variable "client_username_attributes" {
description = "A set of key+value pairs that can be used to locate a client username, for example when using client certificate mapping"
type = set(object({
attribute_name = string
attribute_value = string
}))
default = []
}