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
DataTalosMachineConfiguration(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "virtualenvs/CDKTF-lG0LMH7y/lib/python3.12/site-packages/jsii/_runtime.py", line 118, in __call__
inst = super(JSIIMeta, cast(JSIIMeta, cls)).__call__(*args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "cdktfimports/cdktfimports/talos/data_talos_machine_configuration/__init__.py", line 81, in __init__
config = DataTalosMachineConfigurationConfig(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "cdktfimports/cdktfimports/talos/data_talos_machine_configuration/__init__.py", line 427, in __init__
check_type(argname="argument machine_secrets", value=machine_secrets, expected_type=type_hints["machine_secrets"])
File "virtualenvs/CDKTF-lG0LMH7y/lib/python3.12/site-packages/typeguard/__init__.py", line 757, in check_type
checker_func(argname, value, expected_type, memo)
File "virtualenvs/CDKTF-lG0LMH7y/lib/python3.12/site-packages/typeguard/__init__.py", line 558, in check_union
raise TypeError('type of {} must be one of ({}); got {} instead'.
TypeError: type of argument machine_secrets must be one of (cdktfimports.talos.data_talos_machine_configuration.DataTalosMachineConfigurationMachineSecrets, Dict[str, Any]); got cdktfimports.talos.machine_secrets.MachineSecretsMachineSecretsOutputReference instead
The source of the DataTalosMachineConfiguration init parameter:
I have a CDKTF python project and use
Talos Terraform Provider example from the docs:
I imported the provider with
cdktf get
and replicated the example:And running this generates this TypeError:
The source of the
DataTalosMachineConfiguration
init parameter:The member function of the
MachineSecrets
class:Not sure how these types get generated but seem to be incompatible.
Any idea how this can be fixed?
The text was updated successfully, but these errors were encountered: