Skip to content

Commit 0c95dcb

Browse files
fix: updated logic in dynamic_values.tf to use try() in order to pass TFLint rule as value may be null (#670)
1 parent 398fded commit 0c95dcb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dynamic_values.tf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ module "dynamic_values" {
2626
appid = var.appid
2727
appid_resource = ibm_resource_instance.appid
2828
appid_data = data.ibm_resource_instance.appid
29-
teleport_domain = tostring(var.teleport_config_data.domain)
29+
teleport_domain = tostring(try(var.teleport_config_data.domain, null))
3030
f5_vsi = var.f5_vsi
3131
f5_template_data = var.f5_template_data
3232
add_kms_block_storage_s2s = var.add_kms_block_storage_s2s

0 commit comments

Comments
 (0)