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

Duplicate localSecret error when adding existing lambda functions with same secret #610

Open
ruggero-balteri opened this issue May 18, 2020 · 1 comment

Comments

@ruggero-balteri
Copy link

When 2 existing lambda functions want to affiliate the same secret the following error message is displayed:

[ERROR] BasicGreengrassHelper: Duplicate local secrets manager secrets defined ["arn:aws:secretsmanager:us-east-1:271117399250:secret:odin-greengrass-eink_functionality-kindle-account-1EL1TW", "arn:aws:secretsmanager:us-east-1:271117399250:secret:odin-greengrass-eink_functionality-kindle-device-8Xb727", "arn:aws:secretsmanager:us-east-1:271117399250:secret:odin-greengrass-eink_functionality-kindle-twitter-account-U84KR9", "arn:aws:secretsmanager:us-east-1:271117399250:secret:odin-greengrass-eink_functionality-kindle-twitter-consumer-Lpt04O", "arn:aws:secretsmanager:us-east-1:271117399250:secret:odin-greengrass-eink_functionality-kindle-twitter-id-3wBOjP", "arn:aws:secretsmanager:us-east-1:271117399250:secret:odin-greengrass-eink_functionality-kindle-wifi-an4MbQ"].  Greengrass will not accept this configuration.
[ERROR] AwsGreengrassProvisioner: Invalid resource configuration

Expected result: GGP should identify that a localSecretResource has already been added and affiliated to Lambda A. Then, it should not try to add it again, but only affiliate it to Lambda B as well.

@timmattison
Copy link
Contributor

Oops, missed this one. Let's review offline and then I can update the ticket.

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