Skip to content

Commit

Permalink
fix: autoscaler_version can't be null
Browse files Browse the repository at this point in the history
```
│   on .terraform/modules/worker_pool/autoscaler.tf line 27, in data "archive_file" "binary":
│   27:   output_path = "ec2-workerpool-autoscaler_${var.autoscaler_version}.zip"
│     ├────────────────
│     │ var.autoscaler_version is null
│ 
│ The expression result is null. Cannot include a null value in a string template.
```
  • Loading branch information
MaxymVlasov authored Jan 9, 2024
1 parent d0e5924 commit 38df874
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -146,9 +146,10 @@ variable "enable_autoscaling" {
}

variable "autoscaler_version" {
type = string
description = "Version of the autoscaler to deploy"
type = string
default = "v0.3.0"
nullable = false
}

variable "autoscaler_architecture" {
Expand Down

0 comments on commit 38df874

Please sign in to comment.