You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We recently upgraded from 0.1.8 to 1.7.0 and implement a "refresh" function (to help reimporting the state of existing buckets).
We got this errors:
error: an unhandled error occurred: python inline source runtime error: type object 'InvokeOptions' has no attribute 'merge'
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/pulumi/automation/_server.py", line 69, in Run
loop.run_until_complete(run_in_stack(self.program))
File "/usr/local/lib/python3.9/asyncio/base_events.py", line 647, in run_until_complete
returnfuture.result()
File "/usr/local/lib/python3.9/site-packages/pulumi/runtime/stack.py", line 126, in run_in_stack
await run_pulumi_func(lambda: Stack(func))
File "/usr/local/lib/python3.9/site-packages/pulumi/runtime/stack.py", line 49, in run_pulumi_func
func()
File "/usr/local/lib/python3.9/site-packages/pulumi/runtime/stack.py", line 126, in<lambda>
await run_pulumi_func(lambda: Stack(func))
File "/usr/local/lib/python3.9/site-packages/pulumi/runtime/stack.py", line 149, in __init__
func()
File "/app/src/strategies/ScalewayStrategy.py", line 128, in create_pulumi_program
existing_bucket = scaleway.get_object_bucket(name=hashed_bucket_name)
File "/usr/local/lib/python3.9/site-packages/lbrlabs_pulumi_scaleway/get_object_bucket.py", line 189, in get_object_bucket
opts = pulumi.InvokeOptions.merge(_utilities.get_invoke_opts_defaults(), opts)
AttributeError: type object 'InvokeOptions' has no attribute 'merge'
I think it's not related to the upgrade since we upgraded in order to be able to call the get_object_bucket which seems not exists in the older version.
Thanks for your help.
The text was updated successfully, but these errors were encountered:
Hi.
We recently upgraded from 0.1.8 to 1.7.0 and implement a "refresh" function (to help reimporting the state of existing buckets).
We got this errors:
Here's our code to reproduce this issue:
I think it's not related to the upgrade since we upgraded in order to be able to call the
get_object_bucket
which seems not exists in the older version.Thanks for your help.
The text was updated successfully, but these errors were encountered: