How do I get more information what's actually wro...
# general
b
How do I get more information what's actually wrong than this?
Copy code
error: could not validate provider configuration: 1 error occurred:
  	* Invalid or unknown key
...
debug: AWS Auth provider used: "StaticProvider"
debug: registering resource: ty=pulumi:pulumi:Stack, name=saas-python-local, custom=False, remote=False
warning: provider config warning: Argument is deprecated
...
error Command failed with exit code 255.
Running
pulumi up -d -v 3
but it gives me no information what attribute is deprecated or what key is invalid
e
-v10
will print a lot more information which might give a hint to what's failing
b
Finally had time to investigate this. Even
-v10
didn't give any clues which key was incorrect. Did a binary search by removing half the configuration at a time and found the offending key with a lot of trial&error
Among the several hundred keys under
aws:endpoints
that I need in my localstack setup, there was
mobileanalytics: <http://localhost:4566>
which probably has been a real thing at some point (since I for sure didn't add any of these manually) but has since been removed
Pretty frustrating experience but now it works at least
e
Wait is that
aws:mobileanalytics
or just
mobileanalytics
?
b
Without
aws:
like all of the other ones under
aws:endpoints
, I guess the provider prefix is only mandatory on the top level keys
e
Ah I get you, a subkey of
aws:endpoints
. I'd suggest raising an issue about this at https://github.com/pulumi/pulumi-aws/issues.
248 Views