Created
April 27, 2025 11:25
-
-
Save jesseloudon/2283a226dfe3ca08d5c5268044b678f6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo "Listing existing Databricks Workspace IP Access Lists" | |
databricks ip-access-lists list -o json -t ${{ parameters.BUNDLE_TARGET }} --log-level ${{ parameters.DATABRICKS_LOG_LEVEL }} | |
echo "Enabling Databricks Workspace IP Access Lists if pipeline parameter is true" | |
databricks workspace-conf set-status enableIpAccessLists --json '{"enableIpAccessLists": "${{ parameters.ADB_ENABLE_IP_ACCESS_LISTS }}"}' -t ${{ parameters.BUNDLE_TARGET }} --log-level ${{ parameters.DATABRICKS_LOG_LEVEL }} | |
echo "Checking Databricks Workspace IP Access Lists enablement status" | |
databricks workspace-conf get-status enableIpAccessLists -t ${{ parameters.BUNDLE_TARGET }} --log-level ${{ parameters.DATABRICKS_LOG_LEVEL }} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment