diff --git a/examples/standalone-mounted/main.tf b/examples/standalone-mounted/main.tf index dd11837c..fb0a4af3 100644 --- a/examples/standalone-mounted/main.tf +++ b/examples/standalone-mounted/main.tf @@ -51,7 +51,7 @@ module "standalone" { operational_mode = "disk" acm_certificate_arn = var.acm_certificate_arn domain_name = var.domain_name - distribution = "ubuntu" + distribution = var.distribution asg_tags = var.tags disk_path = "/opt/hashicorp/data" diff --git a/examples/standalone-mounted/terraform.tfvars.example b/examples/standalone-mounted/terraform.tfvars.example index 5a724e41..0b13e820 100644 --- a/examples/standalone-mounted/terraform.tfvars.example +++ b/examples/standalone-mounted/terraform.tfvars.example @@ -1,6 +1,7 @@ acm_certificate_arn = "arn:aws:acm:region::certificate/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxx" domain_name = "my.domain.com" license_file = "/files/license.rli" +distribution = "ubuntu" tags = { Owner = "My Name" Environment = "standalone-mounted" diff --git a/examples/standalone-mounted/variables.tf b/examples/standalone-mounted/variables.tf index 8dd1e00e..b1c47b1c 100644 --- a/examples/standalone-mounted/variables.tf +++ b/examples/standalone-mounted/variables.tf @@ -27,3 +27,9 @@ variable "tfe_subdomain" { type = string description = "Subdomain for TFE" } + +variable "distribution" { + type = string + default = "ubuntu" + description = "The OS distribution to use, either ubuntu or rhel." +}