Skip to content

Commit 918a5ff

Browse files
committed
test: fallback to null if chart version not defined
1 parent 2aada54 commit 918a5ff

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/terraform/nightly/main.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ locals {
22
test_spec = yamldecode(file("${path.module}/../../../distributions/${var.distro}/test/spec-nightly.yaml"))
33
ec2_enabled = local.test_spec.nightly.ec2.enabled
44
chart_name = local.test_spec.nightly.collectorChart.name
5-
chart_version = local.test_spec.nightly.collectorChart.version
5+
chart_version = try(local.test_spec.nightly.collectorChart.version, null)
66
releases_bucket_name = "nr-releases"
77
required_permissions_boundary_arn_for_new_roles = "arn:aws:iam::${var.aws_account_id}:policy/resource-provisioner-boundary"
88
k8s_namespace = "nightly-${var.distro}"

0 commit comments

Comments
 (0)