-
Notifications
You must be signed in to change notification settings - Fork 3
TypeError: TwingateResourceProtocolsArgs._configure() missing 2 required positional arguments: 'tcp' and 'udp' #12
Comments
Hi @xiongchiamiov, thank you for reporting this. We will investigate it but in the meantime we would suggest using the previous version of the provider and suggest that the CI/CD process shouldn't update to the latest version automatically in case there are breaking changes. |
Yep, I've pinned the older version now (which we've done with other providers, just missed this one), so no urgency on our part. |
Thank you, apologies for the issue and we will update the issue as soon as we can. |
I think this might be an issue with the generated Python code though not absolutely certain. I have raised the problem in an issue here. |
Following through the linked issues, it looks like the code gen issue should be fixed in pulumi 3.85.0. Again, no rush from my end since the previous version is working just fine, but let me know if you'd like me to test an update. |
Hi @xiongchiamiov, the issue should indeed be fixed but we have a dependency on pulumi/pulumi-terraform-bridge which is currently not compatible with the fix version of pulumi/pulumi 3.86.0 release. The 3.85.0 (that you mentioned in your comment) appears to be the one that is problematic. We will wait for an updated |
@xiongchiamiov apologies for the delay, we have release 0.0.48 and this should fix the issue. |
Our CI updated to pulumi-twingate-0.0.47 (Python) and we're now getting this error:
I think this is caused by 6b4ed27, but honestly I can't tell from reading the code what's going wrong there.
FWIW, this particular instance creation of
TwingateResource
is one in which we're not specifying theprotocols
field at all, just leaving it to the default. I haven't experimented to see if it also errors out when specified.The text was updated successfully, but these errors were encountered: