We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a62c3c commit 0fd9890Copy full SHA for 0fd9890
main.tf
@@ -53,7 +53,7 @@ module "servers" {
53
secgroup_id = openstack_networking_secgroup_v2.server.id
54
bootstrap_ip = local.internal_ip
55
bastion_host = local.external_ip
56
- san = [local.internal_ip, local.external_ip]
+ san = distinct(concat([local.external_ip, local.internal_ip], var.additional_san))
57
58
manifests_folder = var.manifests_folder
59
manifests = merge(
variables.tf
@@ -96,6 +96,11 @@ variable "lb_internal_ip" {
96
default = null
97
}
98
99
+variable "additional_san" {
100
+ type = list(string)
101
+ default = []
102
+}
103
+
104
variable "bootstrap" {
105
type = bool
106
default = false
0 commit comments