From fd13fac7f8cb57bccd2f8905f81ffca070adbaac Mon Sep 17 00:00:00 2001 From: Philip Dubois Date: Thu, 25 Aug 2022 12:07:52 +0200 Subject: [PATCH] Fix typo --- README.md | 2 +- ec2-worker/asg.tf | 4 ++-- ec2-worker/variables.tf | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index d88006c..b103977 100644 --- a/README.md +++ b/README.md @@ -189,7 +189,7 @@ The following resources will be created: | [subnet_ids](#input_subnet_ids) | List of subnet ids where to deploy the worker instances | `list(string)` | n/a | yes | | [vpc_id](#input_vpc_id) | The VPC id where to deploy the worker instances | `string` | n/a | yes | | [additional_security_group_ids](#input_additional_security_group_ids) | Additional security group ids to attach to the worker instances | `list(string)` | `[]` | no | -| [bagageclaim_driver](#input_bagageclaim_driver) | Which Concourse Worker bagageclaim driver to use. Supported choices: `btrfs` and `overlay` | `string` | `"overlay"` | no | +| [baggageclaim_driver](#input_baggageclaim_driver) | Which Concourse Worker baggageclaim driver to use. Supported choices: `btrfs` and `overlay` | `string` | `"overlay"` | no | | [concourse_tags](#input_concourse_tags) | List of tags to add to the worker to use for assigning jobs and tasks | `list(string)` | `[]` | no | | [concourse_version](#input_concourse_version) | Concourse CI version to use. Defaults to the latest tested version | `string` | `"7.7.1"` | no | | [concourse_version_override](#input_concourse_version_override) | Variable to override the default Concourse version. Leave it empty to fallback to `concourse_version`. Useful if you want to default to the module's default but also give the users the option to override it | `string` | `null` | no | diff --git a/ec2-worker/asg.tf b/ec2-worker/asg.tf index f3334b7..e82058b 100644 --- a/ec2-worker/asg.tf +++ b/ec2-worker/asg.tf @@ -1,5 +1,5 @@ locals { - filesystem = var.bagageclaim_driver == "btrfs" ? "btrfs" : "ext4" + filesystem = var.baggageclaim_driver == "btrfs" ? "btrfs" : "ext4" } # Get the latest Amazon Linux 2 ami @@ -159,7 +159,7 @@ data "template_file" "concourse_systemd" { vars = { concourse_hostname = "${var.concourse_hostname}:${var.worker_tsa_port}" - baggageclaim_driver = var.bagageclaim_driver + baggageclaim_driver = var.baggageclaim_driver tags = join(" ", formatlist("--tag=%s", var.concourse_tags)) } } diff --git a/ec2-worker/variables.tf b/ec2-worker/variables.tf index 22e2f60..e11f559 100644 --- a/ec2-worker/variables.tf +++ b/ec2-worker/variables.tf @@ -169,8 +169,8 @@ variable "public" { default = false } -variable "bagageclaim_driver" { +variable "baggageclaim_driver" { type = string - description = "Which Concourse Worker bagageclaim driver to use. Supported choices: `btrfs` and `overlay`" + description = "Which Concourse Worker baggageclaim driver to use. Supported choices: `btrfs` and `overlay`" default = "overlay" }