Open seanr-ba opened 2 days ago
This looks like a renaming issue in the converter itself, so I'll move to that repo.
I have also encountered this error but when attempting to bridge a provider and using codegen for the examples. When attempting with the provider in my scenario I get
unknown property 'defaults_version' among [... defaultsVersion ...]. This example will be dropped from any generated docs or SDKs.
When running in a debugger, I see this is happening for a UnionType. I am not sure if this is incorrect, but looking further in the debugs, YAML and Java seem to succeed, while python, go, typescript, and C# get reported as failed conversions.
When looking at the evaluation at https://github.com/pulumi/pulumi/blob/cf6fd7534845cb47743d205177090bf0b67e3a55/pkg/codegen/hcl2/model/type_object.go#L110 propertyName is defaults_version
while t.Properties only contains the camel case equivalent defaultsVersion
What happened?
Attempted to convert terraform repo to pulumi using:
pulumi convert --from terraform --language python
but received the following error:
Example
See above for full error details
Output of
pulumi about
Additional context
No response
Contributing
Vote on this issue by adding a 👍 reaction. To contribute a fix for this issue, leave a comment (and link to your pull request, if you've opened one already).