Skip to content

Commit

Permalink
added pull_through var in examples
Browse files Browse the repository at this point in the history
  • Loading branch information
aahel committed Aug 30, 2023
1 parent cbe084d commit baa6a03
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
2 changes: 1 addition & 1 deletion examples/lambda/registrator.tf
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@ module "consul_lambda_registrator" {
subnet_ids = module.vpc.private_subnets
security_group_ids = [module.vpc.default_security_group_id]
sync_frequency_in_minutes = 1
pull_through = false
pull_through = var.pull_through
}
6 changes: 6 additions & 0 deletions examples/lambda/variables.tf
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,9 @@ variable "consul_lambda_extension_arn" {
type = string
default = ""
}

variable "pull_through" {
description = "Flag to determine if a pull-through cache method will be used to obtain the appropriate ECR image"
type = bool
default = false
}

0 comments on commit baa6a03

Please sign in to comment.