Skip to content

Commit

Permalink
fix: update variable references
Browse files Browse the repository at this point in the history
  • Loading branch information
jubranNassar committed Jan 10, 2025
1 parent 630883e commit 6a7a003
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 2 deletions.
4 changes: 2 additions & 2 deletions autoscaler.tf
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ module "autoscaler" {
base_name = var.base_name
region = var.region
autoscaler_s3_package = var.autoscaler_s3_package
subnet_ids = var.subnet_ids
security_group_ids = var.security_group_ids
subnet_ids = var.vpc_subnets
security_group_ids = var.security_groups

depends_on = [module.asg]
}
Expand Down
10 changes: 10 additions & 0 deletions variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ variable "disable_container_credentials" {
default = false
}

variable "autoscaling_group_arn" {
type = string
description = "autoscaling group ARN. Required for autoscaler"
}

variable "domain_name" {
type = string
description = "Top-level domain name to use for pulling the launcher binary"
Expand Down Expand Up @@ -226,3 +231,8 @@ variable "autoscaler_s3_package" {
default = null
}

variable "region" {
type = string
description = "AWS region to deploy to"
}

0 comments on commit 6a7a003

Please sign in to comment.