This repository has been archived by the owner on Sep 1, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
/
variables.tf
119 lines (99 loc) · 3.1 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
# Copyright (c) 2022 Canonical Ltd.
#
# 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 "openstack-channel" {
description = "Operator channel for OpenStack deployment"
default = "2023.1/stable"
}
variable "mysql-channel" {
description = "Operator channel for MySQL deployment"
default = "8.0/candidate"
}
variable "mysql-router-channel" {
description = "Operator channel for MySQL router deployment"
default = "8.0/candidate"
type = string
}
variable "rabbitmq-channel" {
description = "Operator channel for RabbitMQ deployment"
default = "3.9/stable"
}
variable "ovn-channel" {
description = "Operator channel for OVN deployment"
default = "23.03/stable"
}
variable "model" {
description = "Name of Juju model to use for deployment"
default = "openstack"
}
variable "cloud" {
description = "Name of K8S cloud to use for deployment"
default = "microk8s"
}
# https://github.com/juju/terraform-provider-juju/issues/147
variable "credential" {
description = "Name of credential to use for deployment"
default = ""
}
variable "config" {
description = "Set configuration on model"
default = {}
}
variable "enable-ceph" {
description = "Enable Ceph integration"
default = false
}
variable "ceph-offer-url" {
description = "Offer URL from microceph app"
default = "admin/controller.microceph"
}
variable "ceph-osd-replication-count" {
description = "Ceph OSD replication count to set on glance/cinder"
default = 1
}
variable "ha-scale" {
description = "Scale of traditional HA deployments"
# Need better name, because 1 is not HA, needs to encompass services like MySQL, RabbitMQ and OVN
default = 1
}
variable "os-api-scale" {
description = "Scale of OpenStack API service deployments"
default = 1
}
variable "ingress-scale" {
description = "Scale of ingress deployment"
default = 1
}
variable "many-mysql" {
description = "Enabling this will switch architecture from one global mysql to one per service"
default = false
}
variable "enable-heat" {
description = "Enable OpenStack Heat service"
default = false
}
# Temporary channel for heat until 2023.1/stable is released.
variable "heat-channel" {
description = "Operator channel for OpenStack Heat deployment"
default = "2023.1/edge"
}
variable "enable-telemetry" {
description = "Enable OpenStack Telemetry services"
default = false
}
# Temporary channel for telemetry services until 2023.1/stable is released.
variable "telemetry-channel" {
description = "Operator channel for OpenStack Telemetry deployment"
default = "2023.1/edge"
}