Skip to content

Retrieving id of webhook using lookup is not supported #1974

@wmodzopg

Description

@wmodzopg

Describe the issue

I would like to get the id of the webhook which is created within the workspace automatically (for example by its name).
Now I don't see any other way than just hardcode it.

I think it would be good to use it using lookup, but webhook object is not supported there.

Configuration

I need to configure it like this:

      webhook_notifications:
        on_failure:
          - id: ${var.webhook_id} 
  
  webhook_id:
    description: The ID of the webhook, default is DEV.
    default: XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX

instead of some dynamic lookup like:

  webhook_id:
    description: The ID of the webhook, default is DEV.
    lookup: 
      webhook: "SNOW integration"

Expected Behavior

No need to hardcode webhook ids.

Actual Behavior

I need to hardcode webhook ids.

OS and CLI version

Databricks CLI v0.230.0
macOS sonoma 14.7.1

Is this a regression?

I don't think so

Metadata

Metadata

Assignees

No one assigned

    Labels

    DABsDABs related issues

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions