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’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Non-field values in backtick are rewritten to be language specific #1960

Open
iwahbe opened this issue May 10, 2024 · 0 comments
Open

Non-field values in backtick are rewritten to be language specific #1960

iwahbe opened this issue May 10, 2024 · 0 comments
Labels
area/docsgen Issues with docs capture or example rendering, historically part of pkg/tfgen kind/bug Some behavior is incorrect or out of spec

Comments

@iwahbe
Copy link
Member

iwahbe commented May 10, 2024

What happened?

The motivating example is pulumi/pulumi-datadog#533

Example

This diff represents what we have vs what we should have:

-     * The namespace associated with the tag filter entry. Valid values are `elb`, `applicationElb`, `sqs`, `rds`, `custom`, `networkElb`, `lambda`.
+     * The namespace associated with the tag filter entry. Valid values are `elb`, `application_elb`, `sqs`, `rds`, `custom`, `network_elb`, `lambda`.
     */
    namespace?: pulumi.Input<string>;

This is because we are translating network_elb to networkElb (assuming it is a property name) instead of correctly inferring it to be a possible value.

Output of pulumi about

NA

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).

@iwahbe iwahbe added kind/bug Some behavior is incorrect or out of spec area/docsgen Issues with docs capture or example rendering, historically part of pkg/tfgen labels May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/docsgen Issues with docs capture or example rendering, historically part of pkg/tfgen kind/bug Some behavior is incorrect or out of spec
Projects
None yet
Development

No branches or pull requests

1 participant