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

Error from GItHub provider #2845

Open
RobCannon opened this issue Jan 19, 2025 · 1 comment
Open

Error from GItHub provider #2845

RobCannon opened this issue Jan 19, 2025 · 1 comment
Labels
awaiting-feedback Blocked on input from the author kind/bug Some behavior is incorrect or out of spec

Comments

@RobCannon
Copy link

What happened?

I am getting the following warning when using the GitHub provider:

Diagnostics:
  pulumi:providers:github (default_6_6_0):
    warning: Type checking failed:
    
                 Unexpected type at field "appAuth":
                     an unexpected argument "installation_id" was provided
    
             Type checking is still experimental. If you believe that a warning is incorrect,
             please let us know by creating an issue at https://github.com/pulumi/pulumi-terraform-bridge/issues.
             This will become a hard error in the future.

Example

We are using gitHub auth with a GitHub application and the configuration file has this configuration in a Pulumi.stack.yaml file

  github:appAuth:
    id: xxxx
    installation_id: yyyy
    pemFile:
      secure: redacted

Output of pulumi about

CLI          
Version      3.145.0
Go Version   go1.23.4
Go Compiler  gc

Plugins
KIND      NAME        VERSION
resource  aws         6.66.3
resource  aws-native  1.24.0
resource  command     1.0.1
resource  github      6.6.0
language  nodejs      3.145.0
resource  random      4.17.0

Host     
OS       ubuntu
Version  24.04
Arch     aarch64

This project is written in nodejs: executable='/usr/bin/node' version='v23.6.0'

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

@RobCannon RobCannon added kind/bug Some behavior is incorrect or out of spec needs-triage Needs attention from the triage team labels Jan 19, 2025
@guineveresaenger
Copy link
Contributor

Hi @RobCannon, thank you for filing this issue. We're sorry you're seeing a somewhat vague warning here - ideally you should see something much more actionable.

At first glance, since your project appears to be written in nodejs, it looks like the field should be installationId nost installation_id.

Could you give that a try and see if that fixes the warning? Please let us know!

@guineveresaenger guineveresaenger added awaiting-feedback Blocked on input from the author and removed needs-triage Needs attention from the triage team labels Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting-feedback Blocked on input from the author kind/bug Some behavior is incorrect or out of spec
Projects
None yet
Development

No branches or pull requests

2 participants