-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[codegen/go] Inputty types elision removes necessary types from Azure-native go sdk #8918
Comments
I have found a temporary fix. I've tested each version going down to v1.50.0. It appears on Version 1.51.0 dbforpostgresql.ServerPropertiesForDefaultCreateArgs was removed. Reverting to 1.50.0 and using that is my temporary solution. |
This seems to have been the result of #7943. The following commit is the squash of pulumi/pulumi-azure-native#1372 which upgraded to v3.20.0 of pulumi/pulumi codegen where the above PR was integrated.
Which corresponds to |
Dear @viveklak @TechnicallyJoe the relevant package for Azure Database for MySQL is affected by this bug as well. |
I believe this is fixed by #14679 but we need a new version of azure-native modules published in order to close it out |
I believe this is no longer an issue. In azure-native v2, missing |
Hello!
Issue details
I'm trying to run set up a Postgresserver on Azure using the example shown here: https://www.pulumi.com/registry/packages/azure-native/api-docs/dbforpostgresql/server/#create-a-new-server
Copy-pasting this doesn't work because of this error:
cannot use (dbforpostgresql.ServerPropertiesForDefaultCreate literal) (value of type dbforpostgresql.ServerPropertiesForDefaultCreate) as pulumi.Input value in struct literal: missing method ElementTypecompilerInvalidIfaceAssign
Code i'm attempting to run:
Steps to reproduce
The example shown here: https://www.pulumi.com/registry/packages/azure-native/api-docs/dbforpostgresql/server/#create-a-new-server
Expected: No error when using the struct shown in the example.
Actual: Got an error
cannot use (dbforpostgresql.ServerPropertiesForDefaultCreate literal) (value of type dbforpostgresql.ServerPropertiesForDefaultCreate) as pulumi.Input value in struct literal: missing method ElementTypecompilerInvalidIfaceAssign
The text was updated successfully, but these errors were encountered: