We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3a47b8b commit 3eb5dc6Copy full SHA for 3eb5dc6
terraform/apiserver/vm.tf
@@ -1,10 +1,15 @@
1
variable "apiserver_tunnel_ip" {
2
type = string
3
}
4
+
5
variable "db_connection_uri" {
6
7
8
9
+variable "slack_token" {
10
+ type = string
11
+}
12
13
data "google_compute_network" "default" {
14
name = "default"
15
@@ -59,7 +64,8 @@ ExecStartPre=/bin/chmod 700 gateway-agent
59
64
ExecStartPre=/bin/mkdir -p /opt/nais-device/bin/
60
65
ExecStartPre=/bin/mv gateway-agent /opt/nais-device/bin/
61
66
ExecStart=/opt/nais-device/bin/apiserver \
62
- --db-connection-uri "${var.db_connection_uri}"
67
+ --db-connection-uri "${var.db_connection_uri}" \
68
+ --slack-token "${var.slack_token}"
63
69
70
[Install]
71
WantedBy=multi-user.target
0 commit comments