https://pulumi.com logo
#python
Title
# python
s

shy-bird-55689

10/05/2022, 1:47 PM
Pulumi up is throwing:
Copy code
error: could not validate provider configuration: 1 error occurred:
        * Invalid or unknown key
Not sure what this is referring to, this project has been working ok on a dev stack. This is now trying to deploy into my prod stack (for the first time)
s

stocky-restaurant-98004

10/05/2022, 1:58 PM
Can you post your
Pulumu.dev.yaml
and your
Pulumi.prod.yaml
?
Any chance you're using non-identical versions of the same provider between the two stacks?
s

shy-bird-55689

10/05/2022, 3:01 PM
Hey @stocky-restaurant-98004 I just noticed that the secret provider wasn't set. Set it to default, still getting the error Here's a side by side of the yaml's
s

stocky-restaurant-98004

10/05/2022, 3:02 PM
You have
aws:config
where it should be
aws:region
But Pulumi should also be telling you which key is invalid - that's poor UX on our part.
s

shy-bird-55689

10/05/2022, 3:07 PM
ah there it is, Thanks for the second set of eyes @stocky-restaurant-98004 up is running and resources are now creating
👍 1
s

stocky-restaurant-98004

10/05/2022, 3:07 PM
Asking whether we've fixed that crappy error message. I remember hearing something about it.
👍 1
4 Views