Skip to content
This repository was archived by the owner on Jan 30, 2021. It is now read-only.

Commit 5b8eafd

Browse files
authored
Fix flavor (#2)
* Fix flavor * Fix description
1 parent 4c9a299 commit 5b8eafd

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ module "label" {
99

1010
locals {
1111
aggregated_user_data = "${join("\n", var.user_data)}"
12-
template_path = "${path.module}/templates/${var.os}.sh"
12+
template_path = "${path.module}/templates/${var.flavor}.sh"
1313
}
1414

1515
data "template_file" "default" {
File renamed without changes.

variables.tf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,9 @@ variable "path" {
1717
description = "Path to store user data script in bucket"
1818
}
1919

20-
variable "os" {
21-
default = "ubuntu"
22-
description = "Server OS that will execute user data script"
20+
variable "flavor" {
21+
default = "debian-systemd"
22+
description = "Flavor depends of OS and init system"
2323
}
2424

2525
variable "user_data" {

0 commit comments

Comments
 (0)