Hi all, I'm currently updating the dependencies in my pulumi project for Azure Databricks resources....
f

Fabian Bertoldo

about 1 year ago
Hi all, I'm currently updating the dependencies in my pulumi project for Azure Databricks resources. However, with the version bump
v1.47.0 -> v1.48.0
for
pulumi-databricks
, I obtain an error in both
pulumi preview
and
pulumi up
:
error: Program failed with an unhandled exception:
    Traceback (most recent call last):
      File "/home/ffber/.pulumi/bin/pulumi-language-python-exec", line 192, in <module>
        loop.run_until_complete(coro)
      File "/usr/lib/python3.11/asyncio/base_events.py", line 653, in run_until_complete
        return future.result()
               ^^^^^^^^^^^^^^^
      File "/home/ffber/source/PlatformPmbi/pulumi/venv/lib/python3.11/site-packages/pulumi/runtime/stack.py", line 142, in run_in_stack
        await run_pulumi_func(run)
      File "/home/ffber/source/PlatformPmbi/pulumi/venv/lib/python3.11/site-packages/pulumi/runtime/stack.py", line 56, in run_pulumi_func
        await wait_for_rpcs()
      File "/home/ffber/source/PlatformPmbi/pulumi/venv/lib/python3.11/site-packages/pulumi/runtime/stack.py", line 118, in wait_for_rpcs
        await task
    Exception: invoke of databricks:index/getGroup:getGroup failed: invocation of databricks:index/getGroup:getGroup returned an error: invoking databricks:index/getGroup:getGroup: 1 error occurred:
        * cannot read group: io.jsonwebtoken.IncorrectClaimException: Expected iss claim to be: <https://sts.windows.net/><correct-azure-tenant-id>/, but was: <https://sts.windows.net/><incorrect-azure-tenant-id>/
So the issue is that there's a mismatch in Azure tenant IDs. However, I never changed the pulumi configuration in any way for the tenant settings and also verified that the Azure tenant IDs are still correct. On top of that, all of
pulumi preview
and
pulumi up
worked fine for every
pulumi-databricks<=1.47.0
. Reviewed the release notes as well and no indication that there are breaking changes coming in this regard. Did anyone else experience some similar issues at some point or is there anyone that might point me in the right direction as to where the issue is originating from? Thanks 🙂.