Giter Site home page Giter Site logo

Comments (12)

stikkireddy avatar stikkireddy commented on August 11, 2024

can you please share if you have global_init_scripts in your yaml file and which version of the package you are using?

from databricks-sync.

coreystokes-8451 avatar coreystokes-8451 commented on August 11, 2024

Yes, they are included in the yamL

global_init_script:
    # pattern will be implemented in the future - make sure you have "*" in here
    patterns:
      - "*"

I am using version 0.3.1 of the tool

from databricks-sync.

stikkireddy avatar stikkireddy commented on August 11, 2024

do you actually have global init scripts in your workspace? If not this could cause an error.

from databricks-sync.

coreystokes-8451 avatar coreystokes-8451 commented on August 11, 2024

Yes global init script exist in the workspace

from databricks-sync.

stikkireddy avatar stikkireddy commented on August 11, 2024

hey sorry was traveling over the week. I will get back to you by Monday if I can recreate this issue on my end.

from databricks-sync.

coreystokes-8451 avatar coreystokes-8451 commented on August 11, 2024

@stikkireddy Hey is there any update ?

from databricks-sync.

stikkireddy avatar stikkireddy commented on August 11, 2024

@coreystokes-8451 i tried a few combinations and i was not able to recreate this issue on my side.
image
Do you see anything here for global init scripts?

from databricks-sync.

coreystokes-8451 avatar coreystokes-8451 commented on August 11, 2024

@stikkireddy Yes a global init scrip folder exists with Terraform code

from databricks-sync.

stikkireddy avatar stikkireddy commented on August 11, 2024

umm can you open the file and see if its an empty file? in terms of the foreach? @coreystokes-8451

from databricks-sync.

coreystokes-8451 avatar coreystokes-8451 commented on August 11, 2024

@stikkireddy Heres the contents of the file

{
    "locals": {
        "databricks_global_init_scripts_for_each_var": {
            "A0624D40C9AD1DEB": {
                "enabled": true,
                "name": "init-artifactory-KRGDMP-access",
                "position": 0,
                "source": "${pathexpand(\"databricks_global_init_script_init_artifactory_KRGDMP_access_A0624D40C9AD1DEB\")}"
            }
        }
    },
    "resource": {
        "databricks_global_init_script": {
            "databricks_global_init_scripts": {
                "enabled": "${each.value.enabled}",
                "for_each": "${local.databricks_global_init_scripts_for_each_var}",
                "name": "${each.value.name}",
                "position": "${each.value.position}",
                "source": "${each.value.source}"
            }
        }
    }
}

from databricks-sync.

stikkireddy avatar stikkireddy commented on August 11, 2024

hmm i am not able to recreate this issue on my side. Looks like the name is correct and valid maybe can you ping your databricks contact and maybe we can get on a quick call? I tried a few different combinations. Tomorrow or monday?

from databricks-sync.

coreystokes-8451 avatar coreystokes-8451 commented on August 11, 2024

Closing, it is recommended to restore an entire workspace rather than individual pieces

from databricks-sync.

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.