Skip to content

Commit 0fdabdf

Browse files
committed
fix(canary): Forward var.patch instead of hardcoding patch=true
1 parent 1718499 commit 0fdabdf

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

terraform/canary/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ module "ec2_setup" {
5959
# install cwagent
6060
install_cwagent = false
6161

62-
patch = true
62+
patch = var.patch
6363

6464
ssm_package_name = "AWSDistroOTel-Collector"
6565
install_package_source = var.install_package_source

terraform/canary/variables.tf

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,8 @@ variable "enable_ssm_validate" {
6161
type = bool
6262
default = false
6363
}
64+
65+
variable "patch" {
66+
type = bool
67+
default = true
68+
}

0 commit comments

Comments
 (0)