Skip to content

Commit

Permalink
Update ID lists to be empty (#163)
Browse files Browse the repository at this point in the history
When using `modules/cloudwatch-logs` the `module "lambda"` could have constant churn because of the possible introduction of `""` in the list of `vpc_subnet_ids` and `vpc_security_group_ids`

Signed-off-by: Gregory Kman <[email protected]>
  • Loading branch information
gregops312 authored Jun 23, 2024
1 parent 06a1b86 commit 0598741
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions examples/cloudwatch-logs/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,13 @@ variable "layer_arn" {
variable "subnet_ids" {
description = "The subnet id with the private link"
type = list(string)
default = [""]
default = []
}

variable "security_group_ids" {
description = "The security group id for assigned to the subnet_ids"
type = list(string)
default = [""]
default = []
}

variable "custom_s3_bucket" {
Expand All @@ -118,4 +118,4 @@ variable "create_secret" {
description = "Set to False In case you want to use secrets manager with a predefine secret that was already created and contains Coralogix Send Your Data API key"
type = string
default = "True"
}
}
4 changes: 2 additions & 2 deletions modules/cloudwatch-logs/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -99,13 +99,13 @@ variable "layer_arn" {
variable "subnet_ids" {
description = "The subnet id with the private link"
type = list(string)
default = [""]
default = []
}

variable "security_group_ids" {
description = "The security group id for assigned to the subnet_ids"
type = list(string)
default = [""]
default = []
}

variable "custom_s3_bucket" {
Expand Down

0 comments on commit 0598741

Please sign in to comment.