https://pulumi.com logo
#general
Title
# general
e

eager-electrician-53823

09/25/2023, 12:52 PM
Hi guys, I just started with Pulumi. I am trying to play on local with Localstack, but from what I see, the AWS provider doesn't have the "aws:endpoints" configuration key. What happened?
d

dry-keyboard-94795

09/25/2023, 1:03 PM
It should do; what does your config look like?
e

eager-electrician-53823

09/25/2023, 1:06 PM
it's automatically configured by pulumilocal, I don't have something else.
Copy code
Diagnostics:
  pulumi:providers:aws (default_6_2_1):
    error: pulumi:providers:aws resource 'default_6_2_1' has a problem: could not validate provider configuration: Invalid or unknown key. Check `pulumi config get aws:endpoints`.
    error: pulumi:providers:aws resource 'default_6_2_1' has a problem: could not validate provider configuration: Duplicate Set Element. This attribute contains duplicate values of:
image.png
d

dry-keyboard-94795

09/25/2023, 1:08 PM
What are the duplicate sets it's erroring about?
e

eager-electrician-53823

09/25/2023, 1:08 PM
I am looking at https://www.pulumi.com/registry/packages/aws/installation-configuration/ and there is no "endpoints" option
well, I don't know for sure, because the error is just a dump of the config
buy i checked the config and there are no duplicates
d

dry-keyboard-94795

09/25/2023, 1:20 PM
Interesting. Might need to use an explicit provider for now then: https://www.pulumi.com/docs/concepts/resources/providers/#explicit-provider-configuration
Something worth trying, instead of every item being a list, have a single list of the endpoints map