Skip to content
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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade tfgen to generate FunctionSpec.Outputs instead of FunctionSpec.ReturnType #796

Open
t0yv0 opened this issue Feb 7, 2023 · 0 comments
Labels
kind/enhancement Improvements or new features

Comments

@t0yv0
Copy link
Member

t0yv0 commented Feb 7, 2023

Hello!

  • Vote on this issue by adding a 馃憤 reaction
  • If you want to implement this feature, comment to let us know (we'll work with you on design, scheduling, etc.)

Issue details

FunctionSpec.Outputs is deprecated in favor of FunctionSpec.ReturnType. Please upgrade tfgen/tfbridge to generate schemas accordingly.

Ref: pulumi/pulumi#11753

Fully implementing this will also require runtime support from both pre-PluginFramework tfbridge and the PluginFramework bridge. When converting function result types at runtime, if schema generator opts to emit a non-object-types (flattened) return type for an invoke, the runtime converters have to translate between Terraform and Pulumi representation in that case.

Affected area/feature

@t0yv0 t0yv0 added needs-triage Needs attention from the triage team kind/enhancement Improvements or new features labels Feb 7, 2023
@t0yv0 t0yv0 removed the needs-triage Needs attention from the triage team label Feb 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/enhancement Improvements or new features
Projects
None yet
Development

No branches or pull requests

1 participant