Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Small change to the standalone mounted disk example - OS variable #278

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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."
}
Loading