When running examples/autoscaling if delicensing_cloud_function_config = null the example fails to run.
Changes to Outputs:
+ EXTERNAL_LB_IP = (known after apply)
╷
│ Error: Error in function call
│
│ on .terraform/modules/vmseries/modules/autoscale/main.tf line 203, in locals:
│ 203: name_prefix = try(var.delicensing_cloud_function_config.name_prefix) == null ? "" : try(var.delicensing_cloud_function_config.name_prefix)
│ ├────────────────
│ │ while calling try(expressions...)
│ │ var.delicensing_cloud_function_config is null
│
│ Call to function "try" failed: no expression succeeded:
│ - Attempt to get attribute from null value (at .terraform/modules/vmseries/modules/autoscale/main.tf:203,60-72)
│ This value is null, so it does not have any attributes.
│
│ At least one expression must produce a successful result.
Module Version
1.2.3
Terraform version
No response
Expected behavior
Autoscale example runs without error when delicensing_cloud_function_config is not specified (is null)
Describe the bug
When running
examples/autoscaling
ifdelicensing_cloud_function_config = null
the example fails to run.Module Version
1.2.3
Terraform version
No response
Expected behavior
Autoscale example runs without error when
delicensing_cloud_function_config
is not specified (is null)Current behavior
No response
Anything else to add?
No response