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

Go SDK missing from repo #2

Open
ringods opened this issue Jun 17, 2023 · 1 comment
Open

Go SDK missing from repo #2

ringods opened this issue Jun 17, 2023 · 1 comment

Comments

@ringods
Copy link

ringods commented Jun 17, 2023

Hello,

The Go SDK of the Pulumi provider is missing in this repo. It ought to be in sdk/go folder. Can you regenerate the SDK, commit the files to the repo and create a new release?

Thanks!

@wparad
Copy link
Member

wparad commented Jun 18, 2023

@ringods right now that actually isn't possible because the pulumi publishing tools are broken.

For rhe error we are currently stuck on is:

 error: pulumi:providers:authress resource 'default_1_1_1_github_/api.github.com/Authress/pulumi-authress' has a problem: could not validate provider configuration: Invalid or unknown key. Check `pulumi config get authress:pluginDownloadURL

What's really weird, is that if I set the same configuration key multiple times with different cases:
KEY VALUE
authress:PluginDownloadURL github://api.github.com/Authress/pulumi-authress
authress:PluginDownloadURl github://api.github.com/Authress/pulumi-authress
authress:accessKey [secret]
authress:customDomain https://authress-test.authress.com
authress:pluginDownloadURL github://api.github.com/Authress/pulumi-authress

I get the error multiple times:

     error: pulumi:providers:authress resource 'default_1_1_31_github_/api.github.com/Authress/pulumi-authress' has a problem: could not validate provider configuration: Invalid or unknown key. Check `pulumi config get authress:pluginDownloadURL`.
     error: pulumi:providers:authress resource 'default_1_1_31_github_/api.github.com/Authress/pulumi-authress' has a problem: could not validate provider configuration: Invalid or unknown key. Check `pulumi config get authress:pluginDownloadURL`.
     error: pulumi:providers:authress resource 'default_1_1_31_github_/api.github.com/Authress/pulumi-authress' has a problem: could not validate provider configuration: Invalid or unknown key. Check `pulumi config get authress:pluginDownloadURl`.

That makes me think the error message is wrong, and actually should say "Value provided for non-existent configuration Key 'authress:pluginDownloadUrl'". Which would imply the issue is that the the PF bridge is injecting this value, but the provider doesn't like it. I tried adding it into the resources.go.Config but I got a warning saying it wasn't in TF so it will be removed.


The problem is that the PF bridge is broken. So as soon as that is fixed we can continue to publish our packages... Someone said it could be related to pulumi/pulumi-terraform-bridge#981 but it's really hard to know if it is.. at this point we are waiting for someone from pulumi to tell us how to fix it so we can continue. 😅

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants