Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with getting existing MwsWorkspaces #376

Open
eliskovets opened this issue Mar 1, 2024 · 1 comment
Open

Issue with getting existing MwsWorkspaces #376

eliskovets opened this issue Mar 1, 2024 · 1 comment
Labels
area/import An issue related to `pulumi import` or the import resource option. kind/bug Some behavior is incorrect or out of spec

Comments

@eliskovets
Copy link

What happened?

I'm getting an error when i'm trying to use existing databricks MwsWorkspaces in my pulumi stack.

databricks:index:MwsWorkspaces (dev_workspace):
error: Preview failed: importing XXXXXXXXXXXXXX: importer for XXXXXXXXXXXXXX returned a empty resource state. This is always the result of a bug in the resource provider - please report this as a bug in the Pulumi provider repository.

Example

db_account_provider = databricks.Provider(
      "databricks_account_provider",
  )
    
databricks.MwsWorkspaces.get(
    f"dev_workspace",
    id="XXXXXXXXXXXXXX",
    opts=ResourceOptions(provider=db_account_provider),
)

Output of pulumi about

CLI
Version 3.108.0
Go Version go1.22.0
Go Compiler gc

Host
OS darwin
Version 14.3.1
Arch arm64

Backend
Name pulumi.com

Additional context

No response

Contributing

Vote on this issue by adding a 👍 reaction.
To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).

@eliskovets eliskovets added kind/bug Some behavior is incorrect or out of spec needs-triage Needs attention from the triage team labels Mar 1, 2024
@iwahbe iwahbe removed the needs-triage Needs attention from the triage team label Mar 4, 2024
@iwahbe
Copy link
Member

iwahbe commented Mar 4, 2024

Hi @eliskovets. Thanks for letting us know about this.

@iwahbe iwahbe added the area/import An issue related to `pulumi import` or the import resource option. label Mar 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/import An issue related to `pulumi import` or the import resource option. kind/bug Some behavior is incorrect or out of spec
Projects
None yet
Development

No branches or pull requests

2 participants