Describe the issue
I'd like it if lookup values could be formatted before before being looked up. For example:
variables:
service_principal_app_id:
description: 'The app id of the service principal for running workflows as.'
default: ""
lookup:
service_principal: "spTm3cmauto${bundle.environment}"
In our case, the service principal name changes depending on what environment it's associated with.
Configuration
See above example
Steps to reproduce the behavior
- Add a lookup like above example
databricks bundle validate -t dev (target is dev, this is also bundle environment)
Expected Behavior
In my example, lookup value should format to spTm3cmautodev
Actual Behavior
Instead it returns the error
Error: failed to resolve service-principal: spTm3cmauto${bundle.environment}, err: ServicePrincipal named 'spTm3cmauto${bundle.environment}' does not exist
OS and CLI version
v0.215.0, macos 14.3.1
Is this a regression?
N/A
Debug Logs
The issue should be self evident but I can provide these if necessary
Describe the issue
I'd like it if lookup values could be formatted before before being looked up. For example:
In our case, the service principal name changes depending on what environment it's associated with.
Configuration
See above example
Steps to reproduce the behavior
databricks bundle validate -t dev(target is dev, this is also bundle environment)Expected Behavior
In my example, lookup value should format to spTm3cmautodev
Actual Behavior
Instead it returns the error
OS and CLI version
v0.215.0, macos 14.3.1
Is this a regression?
N/A
Debug Logs
The issue should be self evident but I can provide these if necessary