hallowed-teacher-48474
10/08/2021, 7:04 PMlocal
and in the documentation there is no option for setting that (or at least haven't found one 🙂 )full-artist-27215
10/08/2021, 7:06 PMhallowed-teacher-48474
10/08/2021, 7:07 PMfull-artist-27215
10/08/2021, 7:07 PMfull-artist-27215
10/08/2021, 7:08 PMhallowed-teacher-48474
10/08/2021, 7:08 PMfull-artist-27215
10/08/2021, 7:08 PMfull-artist-27215
10/08/2021, 7:08 PMsparse-state-34229
10/08/2021, 11:15 PM#16 59.67 Install protobuf 3.18.1 failed
#16 59.67
#16 59.67 ERRORS:
#16 59.67 add protobuf failed:
#16 59.67 Traceback (most recent call last):
#16 59.67 File "/usr/lib/python3.9/concurrent/futures/thread.py", line 52, in run
#16 59.67 result = self.fn(*self.args, **self.kwargs)
#16 59.67 File "/opt/python/lib/python3.9/site-packages/pdm/installers/synchronizers.py", line 190, in install_candidate
#16 59.67 self.manager.install(can)
#16 59.67 File "/opt/python/lib/python3.9/site-packages/pdm/installers/manager.py", line 38, in install
#16 59.67 installer(candidate.build(), self.environment, candidate.direct_url())
#16 59.67 File "/opt/python/lib/python3.9/site-packages/pdm/installers/installers.py", line 74, in install_wheel
#16 59.67 _install_wheel(
#16 59.67 File "/opt/python/lib/python3.9/site-packages/pdm/installers/installers.py", line 176, in _install_wheel
#16 59.67 for record_elements, stream in source.get_contents():
#16 59.67 File "/opt/python/lib/python3.9/site-packages/installer/sources.py", line 165, in get_contents
#16 59.67 record = record_mapping.pop(item.filename)
#16 59.67 KeyError: 'protobuf.libs/'
#16 59.67
sparse-state-34229
10/08/2021, 11:28 PM3.18.0
brainy-window-77332
10/14/2021, 1:12 PMastonishing-quill-88807
10/15/2021, 7:02 PMOutput.secret
crooked-pillow-11944
10/15/2021, 10:45 PMgreat-sunset-355
10/18/2021, 12:48 PMruntime.invoke
raises Exception
which is not a good practice in python and one should use custom exceptions, so at least raising PulumiError
or something would be great.
https://github.com/pulumi/pulumi/blob/master/sdk/python/lib/pulumi/runtime/invoke.py#L121
@red-match-15116 Is there any chance that there is an existing issue about this? (I could not find any)
I bumped into this trying to get an existing RDS instance when I found out that the classic
AWS provider differentiates between 2 types and I'm only interested in arguments that they have in common.
try:
db = rds.get_cluster(
cluster_identifier=db_params.apply(lambda x: x["db"]["identifier"]),
opts=pulumi.InvokeOptions(provider=ec1_provider),
)
except Exception as exc:
print(type(exc))
db = rds.get_instance(
db_instance_identifier=db_params.apply(lambda x: x["db"]["identifier"]),
opts=pulumi.InvokeOptions(provider=ec1_provider),
)
AWS SDK in this case raises DBClusterNotFoundFault
but I guess that pulumi.runtime.invoke
is not smart enough to raise this exception.steep-toddler-88913
10/19/2021, 9:30 AMdb_conn_etl = f"postgresql://{db_user_etl.name}:{db_user_etl.password}@{db_cluster.private_host}:{db_cluster.port}/{db_etl.name}"
In the secret, it shows up as
postgresql://<pulumi.output.Output object at 0x7f3a0956c278>:<pulumi.output.Output object at 0x7f3a0956c128>@<pulumi.output.Output object at 0x7f3a095d2710>:<pulumi.output.Output object at 0x7f3a095d26a0>/<pulumi.output.Output object at 0x7f3a0956c390>
so obviously I'm missing something. How do I get the string value of each of those pulumi.output.Output objects? Going to keep digging but if anyone can help shorten my search, I'd greatly appreciate it 🙂boundless-exabyte-29150
10/19/2021, 5:37 PMerror: failed to load language plugin python: no language plugin 'python' found in the workspace or on your $PATH
victorious-exabyte-70545
10/19/2021, 8:27 PM'cancel', 'create', 'create_or_select', 'destroy', 'export_stack', 'get_all_config', 'get_config', 'history', 'import_stack', 'info', 'name', 'outputs', 'preview', 'refresh', 'refresh_config', 'remove_all_config', 'remove_config', 'select', 'set_all_config', 'set_config', 'up', 'workspace'
little-journalist-4778
10/22/2021, 2:00 PMfull-artist-27215
10/25/2021, 5:28 PMgreen-park-28305
10/26/2021, 10:18 AMcluster:eks.Cluster = eks.Cluster(f"{cluster_name}-cluster",
name=cluster_name,
....
node_group_options=eks.ClusterNodeGroupOptionsArgs(
cloud_formation_tags={
"Name": "EKS Worker Node"
},
encrypt_root_block_device=True,
),
...
)
eks.ManagedNodeGroup(f"{cluster_name}-node-group-" + str(i),
cluster=cluster.core,
node_group_name=f"{cluster_name}-managed-node-group-" + str(i),
....
))
worried-helmet-23171
10/27/2021, 3:08 AMboundless-exabyte-29150
10/27/2021, 7:30 AMbusy-house-95123
10/27/2021, 8:49 AMfast-arm-63150
10/27/2021, 11:51 AMnutritious-shampoo-16116
10/27/2021, 1:59 PMself.register_outputs({'foo', 'bar'})
isn't working at all? I see the method being called, but nor the preview neither the UI shows my output therenutritious-shampoo-16116
10/27/2021, 2:19 PMsparse-state-34229
10/27/2021, 11:28 PMfilter()
with an Output?sparse-state-34229
10/27/2021, 11:29 PMnext(filter(lambda z: name.endswith(z["name"]), things))
things
is a list of Outputs, each with a key named name
sparse-state-34229
10/27/2021, 11:29 PMTypeError: endswith first arg must be str or a tuple of str, not Output
fast-arm-63150
10/28/2021, 6:13 PMfast-arm-63150
10/28/2021, 6:13 PMprehistoric-activity-61023
10/28/2021, 6:28 PMfast-arm-63150
10/29/2021, 1:48 PMprehistoric-activity-61023
10/29/2021, 2:24 PMfast-arm-63150
11/01/2021, 4:59 PMprehistoric-activity-61023
11/01/2021, 5:36 PMpulumi version
+ pip freeze
from the venv should be enough)
Can you confirm we’re talking about CloudSQL from GCP? I think you didn’t mention the cloud provider. Did you create and manage the db server using pulumi as well?resourceInUseByAnotherResource
seems to be returned by GCP API itself so… it’s probably correct 😄. The question is: how did you manage to get that? (it might be your fault or you manage to find a bug in a provider). If you are able to reproduce the issue consistently and can share the full code, it could help us debug it further.
Anyway, I’ll wait until you answer the questions above 🙂.