Coder Social home page Coder Social logo

Comments (4)

NiklasA avatar NiklasA commented on September 16, 2024

Hi @alexott , sorry to bother you, do you already have a timeline for the implementation? Thanks in advance, and best regards!

from terraform-provider-databricks.

alexott avatar alexott commented on September 16, 2024

It most probably requires APIs that will be used by Terraform. We don't have it yet

from terraform-provider-databricks.

mgyucht avatar mgyucht commented on September 16, 2024

@NiklasA Authentication is typically configured at the provider "databricks" level. Syntactically, it seems like you're describing a flow where a user would first provision a Github App and then use those credentials to configure the provider itself:

provider databricks {
  github_app_id = ...
  github_private_key = ...
  github_installation_id = ...
}

Am I understanding this right?

To make authentication easier, we are adopting Open ID Connect, which allows users to authenticate from Github Actions to Databricks without setting up long-lived secrets. To use this, you will need to configure only the host and client ID (account ID as well for account-level provider). You would then add the permission id-token: write to your GH action. This works as long as you are using Github Actions when deploying Terraform. Would that work for you?

from terraform-provider-databricks.

NiklasA avatar NiklasA commented on September 16, 2024

Hello @mgyucht,

we organize our notebooks within distinct GitHub repositories, each corresponding to different data products. Our goal is to automate the Databricks configuration entirely using Terraform. Specifically, we want to set up databricks_repo resources that automatically sync with our GitHub repositories during the terraform apply phase. However, we encounter a limitation: The current Terraform provider version supports authentication only through GitHub personal access tokens and not via GitHub Apps. I hope this clarification helps to illustrate our use case.

from terraform-provider-databricks.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.