Skip to content

Commit

Permalink
change os to a variable for standalone mounted disk
Browse files Browse the repository at this point in the history
  • Loading branch information
amy-hashi committed Jan 13, 2023
1 parent 8064657 commit 51e3e6a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 1 deletion.
2 changes: 1 addition & 1 deletion examples/standalone-mounted/main.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
1 change: 1 addition & 0 deletions examples/standalone-mounted/terraform.tfvars.example
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
acm_certificate_arn = "arn:aws:acm:region:<account_id>: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"
Expand Down
6 changes: 6 additions & 0 deletions examples/standalone-mounted/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -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."
}

0 comments on commit 51e3e6a

Please sign in to comment.