Fixing default value for var.serverlessv2_scaling_configuration (#82)

* Default value when `var.serverlessv2_scaling_configuration` is not
defined modified from `null` -> `{}`
* Example updated to use git tag:`tf-mod-root-v1.16.2`
This commit is contained in:
Jorge Falcon authored and GitHub committed 2025-07-29 15:40:14 -04:00
1 parent c6a59df7f4
commit 7d8311c83c
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -56,7 +56,7 @@ module "rds" {
serverlessv2_scaling_configuration = var.rds_config.serverless ? {
min_capacity = var.rds_config.serverless_min_capacity
max_capacity = var.rds_config.serverless_max_capacity
} : null
} : {}
vpc_id = var.vpc_config.vpc_id
subnets = var.rds_config.subnets
+1 -1
View File
@@ -52,7 +52,7 @@ locals {
}
module "fleet" {
source = "github.com/fleetdm/fleet-terraform?depth=1&ref=tf-mod-root-v1.16.1"
source = "github.com/fleetdm/fleet-terraform?depth=1&ref=tf-mod-root-v1.16.2"
certificate_arn = module.acm.acm_certificate_arn
vpc = {