From 6a7a0037158dde52c93bccff98b1739ec4e73dc9 Mon Sep 17 00:00:00 2001 From: jubranNassar Date: Thu, 9 Jan 2025 22:47:38 -0600 Subject: [PATCH] fix: update variable references --- autoscaler.tf | 4 ++-- variables.tf | 10 ++++++++++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/autoscaler.tf b/autoscaler.tf index 602d820..b877d4d 100644 --- a/autoscaler.tf +++ b/autoscaler.tf @@ -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] } diff --git a/variables.tf b/variables.tf index fbd02f7..e3fae74 100644 --- a/variables.tf +++ b/variables.tf @@ -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" @@ -226,3 +231,8 @@ variable "autoscaler_s3_package" { default = null } +variable "region" { + type = string + description = "AWS region to deploy to" +} +